Borderou de evaluare (job #1442412)

Utilizator AlexNiuclaeNiculae Alexandru Vlad AlexNiuclae Data 25 mai 2015 13:10:23
Problema Popularitate Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:16:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d %d", &k, &n); ^ user.cpp:16:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:24:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d", &x); ^ user.cpp:13:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("popularitate.in","r",stdin); ^ user.cpp:14:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("popularitate.out","w",stdout); ^ user.cpp:16:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &k, &n); ^ user.cpp:20:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld", &m); crt = 1; putere_k = 0; ^ user.cpp:24:28: 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
10ms264kbOK10
20ms264kbOK10
34ms264kbOK10
4Depăşit240kbTime limit exceeded.0
50ms260kbIncorect0
6Depăşit236kbTime limit exceeded.0
7Depăşit236kbTime limit exceeded.0
8Depăşit236kbTime limit exceeded.0
9Depăşit236kbTime limit exceeded.0
10Depăşit240kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?