Pagini recente » Monitorul de evaluare | Borderou de evaluare (job #2616407) | Cod sursa (job #200082) | Borderou de evaluare (job #1250536) | Borderou de evaluare (job #1597332)
Borderou de evaluare (job #1597332)
Raport evaluator
Compilare:
user.cpp: In function ‘void readData()’:
user.cpp:138:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d ", &N, &T);
^
user.cpp:139:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s); assignValue(vec[++N]);
^
user.cpp:142:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s); assignValue(vec[i]);
^
/tmp/ccdKXyXf.o: In function `readData()':
user.cpp:(.text+0x44b): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 332kb | OK | 10 |
| 2 | 8ms | 8340kb | Incorect | 0 |
| 3 | 0ms | 1112kb | Incorect | 0 |
| 4 | 12ms | 8752kb | Incorect | 0 |
| 5 | 0ms | 1112kb | Incorect | 0 |
| 6 | 0ms | 336kb | Killed by signal 6(SIGABRT). | 0 |
| 7 | 0ms | 340kb | Killed by signal 6(SIGABRT). | 0 |
| 8 | 0ms | 340kb | Killed by signal 6(SIGABRT). | 0 |
| 9 | 0ms | 340kb | Killed by signal 6(SIGABRT). | 0 |
| 10 | 0ms | 340kb | Killed by signal 6(SIGABRT). | 0 |
| Punctaj total | 10 |