Pagini recente » Borderou de evaluare (job #3017762) | Borderou de evaluare (job #1461932) | Borderou de evaluare (job #2378491) | Borderou de evaluare (job #1304786) | Borderou de evaluare (job #1582544)
Borderou de evaluare (job #1582544)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:14:46: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen( "propozitie2.in" , "r", stdin );
^
user.cpp:15:46: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen( "propozitie2.out", "w", stdout );
^
user.cpp:17:31: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets( S + 1, DIM, stdin ); N = strlen( S + 1 ) - 1;
^
user.cpp:18:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf( "%d", &M );
^
user.cpp:28:31: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets( W + 1, DIM, stdin );
^
user.cpp:31:35: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets( W + 1, DIM, stdin ); L[i] = strlen( W + 1 ) - 1;
^
In file included from /usr/include/stdio.h:934:0,
from /usr/include/c++/4.8/cstdio:42,
from user.cpp:1:
In function ‘char* fgets(char*, int, FILE*)’,
inlined from ‘int main()’ at user.cpp:17:31:
/usr/include/i386-linux-gnu/bits/stdio2.h:253:58: warning: call to ‘__fgets_chk_warn’ declared with attribute warning: fgets called with bigger size than length of destination buffer [enabled by default]
return __fgets_chk_warn (__s, __bos (__s), __n, __stream);
^
In function ‘char* fgets(char*, int, FILE*)’,
inlined from ‘int main()’ at user.cpp:28:31:
/usr/include/i386-linux-gnu/bits/stdio2.h:253:58: warning: call to ‘__fgets_chk_warn’ declared with attribute warning: fgets called with bigger size than length of destination buffer [enabled by default]
return __fgets_chk_warn (__s, __bos (__s), __n, __stream);
^
In function ‘char* fgets(char*, int, FILE*)’,
inlined from ‘int main()’ at user.cpp:31:35:
/usr/include/i386-linux-gnu/bits/stdio2.h:253:58: warning: call to ‘__fgets_chk_warn’ declared with attribute warning: fgets called with bigger size than length of destination buffer [enabled by default]
return __fgets_chk_warn (__s, __bos (__s), __n, __stream);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 396kb | OK | 10 | 10 |
| 2 | 0ms | 388kb | OK | 10 | 10 |
| 3 | 4ms | 592kb | OK | 10 | 10 |
| 4 | 4ms | 444kb | OK | 10 | 10 |
| 5 | 12ms | 640kb | OK | 10 | 10 |
| 6 | 100ms | 1324kb | OK | 10 | 0 |
| 7 | Depăşit | 720kb | Time limit exceeded. | 0 |
| 8 | 376ms | 1324kb | OK | 10 | 0 |
| 9 | Depăşit | 820kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 1140kb | Time limit exceeded. | 0 | 0 |
| Punctaj total | 50 |