Pagini recente »
Borderou de evaluare (job #273221)
|
Borderou de evaluare (job #649325)
|
Borderou de evaluare (job #67913)
Borderou de evaluare (job #67913)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:11:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
11 | freopen("romb.in","r",stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~
main.cpp:12:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
12 | freopen("romb.out","w",stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
main.cpp:14:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
14 | scanf( "%d\n", &N );
| ~~~~~^~~~~~~~~~~~~~
main.cpp:20:59: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
20 | for( short int j= 1; j<st1; ++j ) scanf("%c",&ch);
| ~~~~~^~~~~~~~~~
main.cpp:22:26: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
22 | scanf("%c",&ch);
| ~~~~~^~~~~~~~~~
main.cpp:25:62: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
25 | for( short int j= dr1+1; j<=N; ++j ) scanf("%c",&ch);
| ~~~~~^~~~~~~~~~
main.cpp:30:59: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
30 | for( short int j= 1; j<st1; ++j ) scanf("%c",&ch);
| ~~~~~^~~~~~~~~~
main.cpp:33:26: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
33 | scanf("%c",&ch);
| ~~~~~^~~~~~~~~~
main.cpp:37:62: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
37 | for( short int j= dr1+1; j<=N; ++j ) scanf("%c",&ch);
| ~~~~~^~~~~~~~~~
main.cpp:44:53: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
44 | for( int j= 1; j<st2; ++j ) scanf("%c",&ch);
| ~~~~~^~~~~~~~~~
main.cpp:46:26: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
46 | scanf("%c",&ch);
| ~~~~~^~~~~~~~~~
main.cpp:49:54: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
49 | for( int j= dr2+1; j<N; ++j ) scanf("%c",&ch);
| ~~~~~^~~~~~~~~~
main.cpp:56:53: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
56 | for( int j= 1; j<st2; ++j ) scanf("%c",&ch);
| ~~~~~^~~~~~~~~~
main.cpp:59:26: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
59 | scanf("%c",&ch);
| ~~~~~^~~~~~~~~~
main.cpp:62:55: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
62 | for( int j= dr2+1; j<N; ++j ) scanf("%c",&ch);
| ~~~~~^~~~~~~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
245 kb
|
OK
|
10
|
2
|
1 ms
|
245 kb
|
Incorect
|
0
|
3
|
1 ms
|
245 kb
|
OK
|
10
|
4
|
1 ms
|
245 kb
|
OK
|
10
|
5
|
539 ms
|
1015 kb
|
OK
|
10
|
6
|
549 ms
|
1245 kb
|
Incorect
|
0
|
7
|
579 ms
|
1241 kb
|
OK
|
10
|
8
|
569 ms
|
1232 kb
|
Incorect
|
0
|
9
|
649 ms
|
1114 kb
|
OK
|
10
|
10
|
799 ms
|
1351 kb
|
Incorect
|
0
|
Punctaj total
|
60
|