Borderou de evaluare (job #1750450)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:99:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("superbec.in", "r", stdin);
^
user.cpp:100:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("superbec.out", "w", stdout);
^
user.cpp:107:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &T);
^
user.cpp:110:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n", &N, &M);
^
user.cpp:111:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s + 1);
^
/tmp/ccLEjueb.o: In function `main':
user.cpp:(.text.startup+0x13c): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 8ms | 444kb | OK | 10 | 20 |
2 | 20ms | 448kb | OK | 10 |
3 | 240ms | 452kb | OK | 10 | 30 |
4 | 132ms | 452kb | OK | 10 |
5 | 244ms | 452kb | OK | 10 |
6 | 244ms | 448kb | OK | 10 | 20 |
7 | 140ms | 452kb | OK | 10 |
8 | 428ms | 544kb | OK | 10 | 30 |
9 | 424ms | 548kb | OK | 10 |
10 | 428ms | 544kb | OK | 10 |
Punctaj total | 100 |