Pagini recente » Borderou de evaluare (job #73618) | Borderou de evaluare (job #2956578) | Borderou de evaluare (job #2614808) | Borderou de evaluare (job #1458335) | Borderou de evaluare (job #1573652)
Borderou de evaluare (job #1573652)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:84:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n", &n, &l);
^
user.cpp:86:10: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp:100:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &cost[i]);
^
/tmp/cc0mW5ak.o: In function `main':
user.cpp:(.text.startup+0x50): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 968kb | Cool! | 10 |
2 | 0ms | 972kb | Cool! | 10 |
3 | 0ms | 964kb | Cool! | 10 |
4 | 16ms | 972kb | Cool! | 10 |
5 | 0ms | 968kb | Urat.. urat de tot: raspuns gresit | 0 |
6 | 12ms | 972kb | Urat.. urat de tot: raspuns gresit | 0 |
7 | 4ms | 968kb | Urat.. urat de tot: raspuns gresit | 0 |
8 | 4ms | 964kb | Urat.. urat de tot: raspuns gresit | 0 |
9 | 24ms | 972kb | Urat.. urat de tot: raspuns gresit | 0 |
10 | 4ms | 972kb | Urat.. urat de tot: raspuns gresit | 0 |
Punctaj total | 40 |