Pagini recente » Borderou de evaluare (job #234928) | Borderou de evaluare (job #1484169) | Borderou de evaluare (job #2936258) | Borderou de evaluare (job #322350) | Borderou de evaluare (job #1493375)
Borderou de evaluare (job #1493375)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:24:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d %d\n", &N, &L);
^
user.cpp:24:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:20:37: 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:24:29: 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:27:33: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(line, 1005, stdin);
^
user.cpp:31:63: 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("%lld", &c[i]), P[i] = i;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 296kb | Cool! | 10 |
2 | 0ms | 292kb | Cool! | 10 |
3 | 0ms | 300kb | Cool! | 10 |
4 | 0ms | 312kb | Urat.. urat de tot: raspuns gresit | 0 |
5 | 8ms | 340kb | Cool! | 10 |
6 | 20ms | 376kb | Cool! | 10 |
7 | 40ms | 456kb | Urat.. urat de tot: raspuns gresit | 0 |
8 | 24ms | 456kb | Urat.. urat de tot: raspuns gresit | 0 |
9 | 64ms | 608kb | Cool! | 10 |
10 | 20ms | 612kb | Cool! | 10 |
Punctaj total | 70 |