Pagini recente » Borderou de evaluare (job #1304030) | Borderou de evaluare (job #2196680) | Borderou de evaluare (job #237057) | Borderou de evaluare (job #851) | Borderou de evaluare (job #1498063)
Borderou de evaluare (job #1498063)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:13:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("knumere.in", "r", stdin);
^
user.cpp:14:29: 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:15:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s + 1);
^
user.cpp: In function ‘void write()’:
user.cpp:51:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("knumere.out", "w", stdout);
^
/tmp/ccbDcTKY.o: In function `read()':
user.cpp:(.text+0x50): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 272kb | Incorect | 0 |
2 | 0ms | 276kb | Incorect | 0 |
3 | 0ms | 268kb | Incorect | 0 |
4 | 0ms | 284kb | Incorect | 0 |
5 | 0ms | 372kb | OK | 10 |
6 | 8ms | 1272kb | Incorect | 0 |
7 | 4ms | 772kb | Incorect | 0 |
8 | 92ms | 7296kb | Incorect | 0 |
9 | 108ms | 10104kb | Killed by signal 6(SIGABRT). | 0 |
10 | 100ms | 10100kb | Killed by signal 6(SIGABRT). | 0 |
Punctaj total | 10 |