Pagini recente »
Borderou de evaluare (job #517954)
|
Borderou de evaluare (job #518357)
|
Borderou de evaluare (job #442539)
|
Borderou de evaluare (job #563305)
|
Borderou de evaluare (job #67914)
Borderou de evaluare (job #67914)
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:53: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
20 | for( 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:56: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
25 | for( int j= dr1+1; j<=N; ++j ) scanf("%c",&ch);
| ~~~~~^~~~~~~~~~
main.cpp:30:53: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
30 | for( 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:57: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
37 | for( 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
|
579 ms
|
1011 kb
|
OK
|
10
|
6
|
539 ms
|
1232 kb
|
Incorect
|
0
|
7
|
549 ms
|
1232 kb
|
OK
|
10
|
8
|
568 ms
|
1478 kb
|
Incorect
|
0
|
9
|
669 ms
|
1376 kb
|
OK
|
10
|
10
|
639 ms
|
1110 kb
|
Incorect
|
0
|
Punctaj total
|
60
|