Pagini recente » Borderou de evaluare (job #1253680) | Borderou de evaluare (job #61712) | Borderou de evaluare (job #694541) | Borderou de evaluare (job #2889851) | Borderou de evaluare (job #2717487)
Borderou de evaluare (job #2717487)
Raport evaluator
Compilare:
main.cpp: In function 'long long int test(long long int)':
main.cpp:23:21: warning: unused variable 'cnt' [-Wunused-variable]
long long st, dr, cnt, nrsum, sumcur;
^~~
main.cpp: In function 'int main()':
main.cpp:71:31: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
fscanf(fin, "%d%lld", &n, &k);
^
main.cpp:75:28: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
fscanf(fin, "%d", &v[i]);
^
main.cpp:103:36: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=]
fprintf(fout, "%d\n", sume[0].val);
^
main.cpp:114:49: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=]
fprintf(fout, "%d %lld\n", sume1[nrsum], cnt);
^
main.cpp:71:32: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d%lld", &n, &k);
^
main.cpp:75:29: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &v[i]);
^
main.cpp: In function 'long long int caut_bin(long long int, long long int)':
main.cpp:63:10: warning: 'sol' may be used uninitialized in this function [-Wmaybe-uninitialized]
return sol;
^~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 5 |
2 | 2ms | 131kb | OK | 5 |
3 | 2ms | 131kb | OK | 5 |
4 | 2ms | 131kb | OK | 5 |
5 | 2ms | 131kb | OK | 5 |
6 | 3ms | 131kb | Sac neluat | 2 |
7 | 3ms | 131kb | OK | 5 |
8 | 2ms | 131kb | OK | 5 |
9 | 2ms | 131kb | OK | 5 |
10 | 3ms | 131kb | OK | 5 |
11 | 3ms | 131kb | Sac neluat | 2 |
12 | 3ms | 131kb | Sac neluat | 2 |
13 | 3ms | 131kb | Sac neluat | 2 |
14 | 4ms | 131kb | Sac neluat | 2 |
15 | 6ms | 131kb | Sac neluat | 2 |
16 | 7ms | 262kb | Sac neluat | 2 |
17 | 11ms | 262kb | Sac neluat | 2 |
18 | 27ms | 786kb | Sac neluat | 2 |
19 | 44ms | 917kb | OK | 5 |
20 | 41ms | 917kb | Sac neluat | 2 |
Punctaj total | 70 |