Pagini recente » Borderou de evaluare (job #1300531) | Borderou de evaluare (job #3036072) | Borderou de evaluare (job #853952) | Borderou de evaluare (job #849191) | Borderou de evaluare (job #2015117)
Borderou de evaluare (job #2015117)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:82:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sub.in", "r", stdin);
^
user.cpp:83:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sub.out", "w", stdout);
^
user.cpp:86:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &n);
^
user.cpp:90:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s + 1);
^
user.cpp:102:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &m);
^
user.cpp:104:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s + 1);
^
/tmp/ccmNOlcx.o: In function `main':
user.cpp:(.text.startup+0xaf): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 292kb | OK | 10 |
| 2 | 0ms | 344kb | OK | 10 |
| 3 | 0ms | 408kb | OK | 10 |
| 4 | 0ms | 852kb | OK | 10 |
| 5 | 4ms | 1544kb | OK | 10 |
| 6 | 4ms | 1652kb | OK | 10 |
| 7 | 16ms | 5400kb | OK | 10 |
| 8 | 16ms | 5488kb | OK | 10 |
| 9 | 20ms | 5528kb | OK | 10 |
| 10 | 16ms | 5312kb | OK | 10 |
| Punctaj total | 100 |