Pagini recente » Borderou de evaluare (job #540016) | Borderou de evaluare (job #3214550) | Borderou de evaluare (job #2381911) | Borderou de evaluare (job #1320730) | Borderou de evaluare (job #1495052)
Borderou de evaluare (job #1495052)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:15:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secventa.in", "r", stdin);
^
user.cpp:16:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secventa.out", "w", stdout);
^
user.cpp:17: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:18:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s + 1);
^
/tmp/cc4Bi1OB.o: In function `main':
user.cpp:(.text.startup+0x7f): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 296kb | OK | 10 |
2 | 0ms | 428kb | OK | 10 |
3 | 8ms | 920kb | OK | 10 |
4 | 8ms | 1020kb | OK | 10 |
5 | 12ms | 1260kb | OK | 10 |
6 | 16ms | 1460kb | OK | 10 |
7 | 12ms | 1340kb | Killed by signal 6(SIGABRT). | 0 |
8 | 12ms | 1344kb | Killed by signal 6(SIGABRT). | 0 |
9 | 12ms | 1340kb | Killed by signal 6(SIGABRT). | 0 |
10 | 12ms | 1340kb | Killed by signal 6(SIGABRT). | 0 |
Punctaj total | 60 |