Pagini recente » Borderou de evaluare (job #238042) | Borderou de evaluare (job #245654) | Borderou de evaluare (job #459721) | Borderou de evaluare (job #2497855) | Borderou de evaluare (job #1696586)
Borderou de evaluare (job #1696586)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:24:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("ppal.in", "r", stdin);
^
user.cpp:25:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("ppal.out", "w", stdout);
^
user.cpp:27:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d\n", &N);
^
user.cpp:28:31: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets (sir + 1), INF = 1e18 + 1;
^
user.cpp:44:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d %lld", &K, &P);
^
/tmp/ccmoCbea.o: In function `main':
user.cpp:(.text.startup+0x6a): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 64ms | 452kb | OK | 10 |
| 2 | 0ms | 624kb | OK | 10 |
| 3 | 0ms | 536kb | OK | 10 |
| 4 | 0ms | 564kb | OK | 10 |
| 5 | 4ms | 944kb | OK | 10 |
| 6 | 8ms | 1164kb | OK | 10 |
| 7 | 32ms | 1616kb | OK | 10 |
| 8 | 56ms | 2056kb | OK | 10 |
| 9 | 124ms | 2508kb | OK | 10 |
| 10 | 0ms | 384kb | OK | 10 |
| Punctaj total | 100 |