Pagini recente » Borderou de evaluare (job #218325) | Borderou de evaluare (job #1784907) | Borderou de evaluare (job #511793) | Borderou de evaluare (job #1786965) | Borderou de evaluare (job #1784069)
Borderou de evaluare (job #1784069)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:497:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("next.in", "r", stdin);
^
user.cpp:498:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("next.out", "w", stdout);
^
user.cpp:500:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp:502:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &d);
^
user.cpp:507:13: warning: ‘a’ may be used uninitialized in this function [-Wmaybe-uninitialized]
n+=a;
^
/tmp/ccloVQrO.o: In function `main':
user.cpp:(.text.startup+0x61): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 8ms | 4184kb | OK | 10 |
| 2 | 8ms | 4188kb | OK | 10 |
| 3 | 8ms | 4192kb | OK | 10 |
| 4 | 12ms | 4240kb | OK | 10 |
| 5 | 16ms | 4344kb | OK | 10 |
| 6 | 36ms | 4676kb | OK | 10 |
| 7 | 80ms | 5468kb | OK | 10 |
| 8 | 196ms | 7444kb | OK | 10 |
| 9 | 124ms | Depăşit | Memory limit exceeded. | 0 |
| 10 | 136ms | Depăşit | Memory limit exceeded. | 0 |
| Punctaj total | 80 |