Pagini recente » Borderou de evaluare (job #2573012) | Borderou de evaluare (job #1679301) | Borderou de evaluare (job #2472448) | Borderou de evaluare (job #1365528) | Borderou de evaluare (job #1494420)
Borderou de evaluare (job #1494420)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:22:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sobo.out", "w", stdout);
^
user.cpp:26:26: 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:29:27: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(line, 1005, stdin);
^
user.cpp:33:58: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (int i = 0; i < L; ++i) scanf("%d", &c[i]), P[i] = i;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 296kb | Cool! | 10 |
2 | 0ms | 300kb | Cool! | 10 |
3 | 0ms | 296kb | Cool! | 10 |
4 | 4ms | 304kb | Cool! | 10 |
5 | 8ms | 316kb | Cool! | 10 |
6 | 44ms | 328kb | Cool! | 10 |
7 | 76ms | 364kb | Cool! | 10 |
8 | 120ms | 356kb | Cool! | 10 |
9 | 228ms | 420kb | Cool! | 10 |
10 | 188ms | 424kb | Cool! | 10 |
Punctaj total | 100 |