Borderou de evaluare (job #2964235)

Utilizator _andrei4567Stan Andrei _andrei4567 Data 12 ianuarie 2023 18:01:13
Problema Casute Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:41:22: warning: format '%lld' expects argument of type 'long long int*', but argument 3 has type 'int*' [-Wformat=] 41 | fscanf (fin, "%lld%lld", &n, &m); | ~~~^ ~~ | | | | | int* | long long int* | %d main.cpp:41:26: warning: format '%lld' expects argument of type 'long long int*', but argument 4 has type 'int*' [-Wformat=] 41 | fscanf (fin, "%lld%lld", &n, &m); | ~~~^ ~~ | | | | | int* | long long int* | %d main.cpp:43:26: warning: format '%lld' expects argument of type 'long long int*', but argument 3 has type 'int*' [-Wformat=] 43 | fscanf (fin, "%lld", &h[i]), a[i].val = h[i], a[i].ind = i; | ~~~^ ~~~~~ | | | | | int* | long long int* | %d main.cpp:48:48: warning: format '%lld' expects argument of type 'long long int*', but argument 3 has type 'int*' [-Wformat=] 48 | for (int i = 1; i <= m && fscanf (fin, "%lld%lld", &x, &y); ++i) | ~~~^ ~~ | | | | | int* | long long int* | %d main.cpp:48:52: warning: format '%lld' expects argument of type 'long long int*', but argument 4 has type 'int*' [-Wformat=] 48 | for (int i = 1; i <= m && fscanf (fin, "%lld%lld", &x, &y); ++i) | ~~~^ ~~ | | | | | int* | long long int* | %d main.cpp:76:24: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int' [-Wformat=] 76 | fprintf (fout, "%lld", ans); | ~~~^ ~~~ | | | | | int | long long int | %d
Test Timp executie Memorie folosita Mesaj Punctaj/test
11ms184kbKilled by Signal 110
20ms184kbKilled by Signal 110
30ms184kbKilled by Signal 110
40ms184kbKilled by Signal 110
50ms184kbKilled by Signal 110
60ms184kbKilled by Signal 110
70ms184kbKilled by Signal 110
80ms184kbKilled by Signal 110
90ms184kbKilled by Signal 110
100ms184kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?