Borderou de evaluare (job #2183517)

Utilizator borscalinCalin-Stefan Georgescu borscalin Data 23 martie 2018 11:08:46
Problema Okcpp Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 6

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:18:47: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 5 has type ‘int*’ [-Wformat=] fscanf(fin, "%d%d%lld%lld", &c, &k, &p, &a); ^ user.cpp:21:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(fin, "%d", &b); ^ user.cpp:18:48: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d%d%lld%lld", &c, &k, &p, &a); ^ user.cpp:21:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &b); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms936kbIncorect0
20ms808kbIncorect0
30ms752kbIncorect0
40ms796kbIncorect0
50ms872kbIncorect0
60ms800kbIncorect0
70ms812kbOk3
80ms792kbOk3
9Depăşit932kbTime limit exceeded.0
10Depăşit876kbTime limit exceeded.0
11Depăşit868kbTime limit exceeded.0
12Depăşit752kbTime limit exceeded.0
13Depăşit756kbTime limit exceeded.0
14Depăşit876kbTime limit exceeded.0
15Depăşit760kbTime limit exceeded.0
16Depăşit936kbTime limit exceeded.0
17Depăşit932kbTime limit exceeded.0
Punctaj total6

Ceva nu functioneaza?