Borderou de evaluare (job #67912)

Utilizator avatar rpdstrike Puscasu Felix rpdstrike IP ascuns
Problemă Romb (clasa a 6-a) Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 8 apr. 2014 15:40:55 Scor 60

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 519 ms 1032 kb OK 10
6 569 ms 1228 kb Incorect 0
7 579 ms 1236 kb OK 10
8 579 ms 1204 kb Incorect 0
9 639 ms 1110 kb OK 10
10 229 ms 1298 kb Killed by Signal 11 0
Punctaj total 60