Pagini recente » Borderou de evaluare (job #351124) | Borderou de evaluare (job #1677153) | Borderou de evaluare (job #846797) | Borderou de evaluare (job #2784742) | Borderou de evaluare (job #1814133)
Borderou de evaluare (job #1814133)
Raport evaluator
Compilare:
user.cpp: In function ‘void ReadVariables()’:
user.cpp:43:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d\n", &n);
^
user.cpp:47:45: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets (sir + 1), L = strlen (sir + 1);
^
user.cpp: In function ‘int main()’:
user.cpp:146:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("eval.in", "r", stdin);
^
user.cpp:147:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("eval.out", "w", stdout);
^
user.cpp:151:15: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets (sir + 1);
^
/tmp/ccCacVf0.o: In function `ReadVariables()':
user.cpp:(.text+0x299): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 20ms | 464kb | OK | 10 |
2 | 20ms | 476kb | OK | 10 |
3 | 20ms | 472kb | OK | 10 |
4 | 232ms | 1840kb | OK | 10 |
5 | 152ms | 532kb | OK | 10 |
6 | 132ms | 496kb | OK | 10 |
7 | 160ms | 508kb | OK | 10 |
8 | 328ms | 588kb | OK | 10 |
9 | 304ms | 584kb | OK | 10 |
10 | 336ms | 584kb | OK | 10 |
Punctaj total | 100 |