Pagini recente » Borderou de evaluare (job #371371) | Borderou de evaluare (job #2690664) | Borderou de evaluare (job #825828) | Borderou de evaluare (job #1211237) | Borderou de evaluare (job #1777420)
Borderou de evaluare (job #1777420)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:14:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("per.in", "r", stdin);
^
user.cpp:15:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("per.out", "w", stdout);
^
user.cpp:18:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d %d\n", &n, &k);
^
user.cpp:20:19: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets (str + 1);
^
/tmp/cceTJkFZ.o: In function `main':
user.cpp:(.text.startup+0x72): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 264kb | OK | 10 | 100 |
2 | 72ms | 292kb | OK | 10 |
3 | 92ms | 292kb | OK | 10 |
4 | 0ms | 288kb | OK | 10 |
5 | 60ms | 288kb | OK | 10 |
6 | 92ms | 292kb | OK | 10 |
7 | 92ms | 288kb | OK | 10 |
8 | 92ms | 288kb | OK | 10 |
9 | 92ms | 288kb | OK | 10 |
10 | 0ms | 272kb | OK | 10 |
Punctaj total | 100 |