Borderou de evaluare (job #2243726)

Utilizator MaxTeoTeo Oprescu MaxTeo Data 21 septembrie 2018 11:44:52
Problema Divk Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:14:39: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf( "%d%d%d%d", &n, &k, &a, &b ); ^ user.cpp:14:39: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:14:39: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:14:39: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘long long int*’ [-Wformat=] user.cpp:26:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf( "%d\n", ans ); ^ user.cpp:14:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf( "%d%d%d%d", &n, &k, &a, &b ); ^ user.cpp:17:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf( "%d", &x ); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
116ms1332kbOK10
212ms1340kbOK10
316ms1436kbOK10
424ms1716kbOK10
544ms2104kbOK10
636ms2468kbWall time limit exceeded.0
744ms2116kbWall time limit exceeded.0
836ms2180kbWall time limit exceeded.0
932ms2100kbWall time limit exceeded.0
1044ms2096kbWall time limit exceeded.0
Punctaj total50

Ceva nu functioneaza?