Pagini recente » Borderou de evaluare (job #192796) | Borderou de evaluare (job #240949) | Borderou de evaluare (job #2857478) | Borderou de evaluare (job #2754787) | Borderou de evaluare (job #1573676)
Borderou de evaluare (job #1573676)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:82:9: warning: unused variable ‘p’ [-Wunused-variable]
int i, p, j, n;
^
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:97:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &cost[i]);
^
/tmp/cclemVN3.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 | 960kb | Cool! | 10 |
2 | 0ms | 968kb | Cool! | 10 |
3 | 0ms | 964kb | Cool! | 10 |
4 | 20ms | 964kb | Cool! | 10 |
5 | 24ms | 964kb | Cool! | 10 |
6 | 104ms | 960kb | Cool! | 10 |
7 | 176ms | 960kb | Cool! | 10 |
8 | 256ms | 960kb | Cool! | 10 |
9 | 588ms | 968kb | Cool! | 10 |
10 | 512ms | 960kb | Cool! | 10 |
Punctaj total | 100 |