Pagini recente » Borderou de evaluare (job #1423794) | Borderou de evaluare (job #1888920) | Borderou de evaluare (job #1771965) | Borderou de evaluare (job #1346776) | Borderou de evaluare (job #2406680)
Borderou de evaluare (job #2406680)
Raport evaluator
Compilare:
main.cpp: In function 'long long int cost(double)':
main.cpp:18:24: warning: unused variable 'Left' [-Wunused-variable]
long long total,i,Left,Right,mid,poz,viteza;
^~~~
main.cpp:18:29: warning: unused variable 'Right' [-Wunused-variable]
long long total,i,Left,Right,mid,poz,viteza;
^~~~~
main.cpp:18:35: warning: unused variable 'mid' [-Wunused-variable]
long long total,i,Left,Right,mid,poz,viteza;
^~~
main.cpp:19:12: warning: unused variable 'raport' [-Wunused-variable]
double raport;
^~~~~~
main.cpp: In function 'int main()':
main.cpp:59:32: warning: format '%ld' expects argument of type 'long int*', but argument 3 has type 'long long int*' [-Wformat=]
fscanf(fin, "%ld", &cerinta);
^
main.cpp:60:32: warning: format '%ld' expects argument of type 'long int*', but argument 3 has type 'long long int*' [-Wformat=]
fscanf(fin, "%ld%ld", &n,&x);
^
main.cpp:60:32: warning: format '%ld' expects argument of type 'long int*', but argument 4 has type 'long long int*' [-Wformat=]
main.cpp:62:33: warning: format '%ld' expects argument of type 'long int*', but argument 3 has type 'long long int*' [-Wformat=]
fscanf(fin, "%ld", &d[i]);
^
main.cpp:64:33: warning: format '%ld' expects argument of type 'long int*', but argument 3 has type 'long long int*' [-Wformat=]
fscanf(fin, "%ld", &v[i]);
^
main.cpp:97:40: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'long long int' [-Wformat=]
fprintf(fout, "%ld", (long long)ans);
^
main.cpp:59:33: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%ld", &cerinta);
^
main.cpp:60:33: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%ld%ld", &n,&x);
^
main.cpp:62:34: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%ld", &d[i]);
^
main.cpp:64:34: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%ld", &v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | Ok | 2 |
2 | 2ms | 131kb | Ok | 1 |
3 | 2ms | 131kb | Ok | 1 |
4 | 2ms | 131kb | Ok | 1 |
5 | 3ms | 131kb | Ok | 3 |
6 | 4ms | 131kb | Ok | 3 |
7 | 4ms | 131kb | Ok | 4 |
8 | 23ms | 524kb | Ok | 3 |
9 | 24ms | 524kb | Ok | 3 |
10 | 26ms | 524kb | Ok | 4 |
11 | 125ms | 1703kb | Ok | 5 |
12 | 2ms | 131kb | Ok | 4 |
13 | 3ms | 131kb | Ok | 4 |
14 | 71ms | 786kb | Ok | 6 |
15 | 158ms | 1703kb | Ok | 6 |
16 | 43ms | 524kb | Ok | 5 |
17 | 85ms | 1048kb | Ok | 5 |
18 | 194ms | 1703kb | Ok | 6 |
19 | 121ms | 1703kb | Ok | 6 |
20 | 137ms | 1703kb | Ok | 8 |
21 | 212ms | 1703kb | Ok | 10 |
22 | 204ms | 1703kb | Ok | 10 |
Punctaj total | 100 |