Borderou de evaluare (job #2406674)

Utilizator marinaoprOprea Marina marinaopr Data 16 aprilie 2019 08:02:06
Problema Orase2 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 10

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: In function 'int main()': main.cpp:53: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:54: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:54:32: warning: format '%ld' expects argument of type 'long int*', but argument 4 has type 'long long int*' [-Wformat=] main.cpp:56: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:58: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:88:34: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'int' [-Wformat=] fprintf(fout, "%ld", (int)ans); ^ main.cpp:53: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:54: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:56: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:58: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
1802ms131kbTime limit exceeded0
22ms131kbOk1
32ms131kbOk1
4803ms131kbTime limit exceeded0
5800ms131kbTime limit exceeded0
6800ms131kbTime limit exceeded0
7803ms131kbTime limit exceeded0
8802ms393kbTime limit exceeded0
9800ms393kbTime limit exceeded0
10801ms393kbTime limit exceeded0
11800ms1310kbTime limit exceeded0
122ms131kbOk4
133ms131kbOk4
14800ms655kbTime limit exceeded0
15803ms1310kbTime limit exceeded0
16800ms393kbTime limit exceeded0
17803ms917kbTime limit exceeded0
18801ms1310kbTime limit exceeded0
19800ms1310kbTime limit exceeded0
20801ms1310kbTime limit exceeded0
21800ms1310kbTime limit exceeded0
22803ms1310kbTime limit exceeded0
Punctaj total10

Ceva nu functioneaza?