Pagini recente »
Borderou de evaluare (job #760752)
|
Borderou de evaluare (job #820253)
|
Borderou de evaluare (job #430266)
|
Borderou de evaluare (job #49414)
|
Borderou de evaluare (job #68652)
Borderou de evaluare (job #68652)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
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.in","r",stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~
main.cpp:13:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
13 | freopen("romb.out","w",stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
main.cpp:15:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
15 | scanf("%d", &N ); scanf("%c",&ch);
| ~~~~~^~~~~~~~~~~
main.cpp:15:31: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
15 | scanf("%d", &N ); 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:24:26: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
24 | scanf("%c",&ch);
| ~~~~~^~~~~~~~~~
main.cpp:27:56: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
27 | for( int j= dr1+1; j<=N; ++j ) scanf("%c",&ch);
| ~~~~~^~~~~~~~~~
main.cpp:32:53: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
32 | for( int j= 1; j<st1; ++j ) scanf("%c",&ch);
| ~~~~~^~~~~~~~~~
main.cpp:35:26: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
35 | scanf("%c",&ch);
| ~~~~~^~~~~~~~~~
main.cpp:39:57: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
39 | for( int j= dr1+1; j<=N; ++j ) scanf("%c",&ch);
| ~~~~~^~~~~~~~~~
main.cpp:46:53: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
46 | for( int j= 1; j<st2; ++j ) scanf("%c",&ch);
| ~~~~~^~~~~~~~~~
main.cpp:48:26: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
48 | scanf("%c",&ch);
| ~~~~~^~~~~~~~~~
main.cpp:51:54: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
51 | for( int j= dr2+1; j<N; ++j ) scanf("%c",&ch);
| ~~~~~^~~~~~~~~~
main.cpp:58:53: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
58 | for( int j= 1; j<st2; ++j ) scanf("%c",&ch);
| ~~~~~^~~~~~~~~~
main.cpp:61:26: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
61 | scanf("%c",&ch);
| ~~~~~^~~~~~~~~~
main.cpp:64:55: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
64 | 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
|
2 ms
|
245 kb
|
OK
|
10
|
3
|
1 ms
|
245 kb
|
OK
|
10
|
4
|
1 ms
|
245 kb
|
OK
|
10
|
5
|
559 ms
|
1253 kb
|
OK
|
10
|
6
|
558 ms
|
1523 kb
|
OK
|
10
|
7
|
589 ms
|
1220 kb
|
OK
|
10
|
8
|
599 ms
|
1200 kb
|
OK
|
10
|
9
|
669 ms
|
1343 kb
|
OK
|
10
|
10
|
687 ms
|
1359 kb
|
OK
|
10
|
Punctaj total
|
100
|