Pagini recente » Borderou de evaluare (job #1193559) | Borderou de evaluare (job #996525) | Borderou de evaluare (job #360414) | Borderou de evaluare (job #3234381) | Borderou de evaluare (job #1597333)
Borderou de evaluare (job #1597333)
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/ccocNfXb.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 | 8332kb | OK | 10 |
3 | 0ms | 1100kb | OK | 10 |
4 | 12ms | 8748kb | OK | 10 |
5 | 0ms | 1100kb | OK | 10 |
6 | 0ms | 336kb | Killed by signal 6(SIGABRT). | 0 |
7 | 0ms | 336kb | 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 | 336kb | Killed by signal 6(SIGABRT). | 0 |
Punctaj total | 50 |