Pagini recente » Borderou de evaluare (job #2962851) | Borderou de evaluare (job #1354183) | Borderou de evaluare (job #2291090) | Borderou de evaluare (job #157404) | Borderou de evaluare (job #1494421)
Borderou de evaluare (job #1494421)
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 | 300kb | Cool! | 10 |
2 | 0ms | 300kb | Cool! | 10 |
3 | 0ms | 296kb | Cool! | 10 |
4 | 4ms | 304kb | Cool! | 10 |
5 | 8ms | 312kb | Cool! | 10 |
6 | 44ms | 332kb | Cool! | 10 |
7 | 76ms | 360kb | Cool! | 10 |
8 | 116ms | 360kb | Cool! | 10 |
9 | 220ms | 424kb | Cool! | 10 |
10 | 188ms | 420kb | Cool! | 10 |
Punctaj total | 100 |