Borderou de evaluare (job #1836527)

Utilizator DenisONIcBanu Denis Andrei DenisONIc Data 28 decembrie 2016 14:20:12
Problema Maxq Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:67:19: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld",&n); ^ user.cpp:79:23: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld",&x); ^ user.cpp:87:19: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld",&m); ^ user.cpp:91:35: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld%ld%ld",&t,&y,&x); ^ user.cpp:91:35: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:91:35: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 4 has type ‘int*’ [-Wformat=] user.cpp: In function ‘ARB query(int, int, int, int, int)’: user.cpp:46:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.cpp: In function ‘int main()’: user.cpp:65:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("maxq.in","r",stdin); ^ user.cpp:67:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld",&n); ^ user.cpp:79:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld",&x); ^ user.cpp:87:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld",&m); ^ user.cpp:91:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld%ld%ld",&t,&y,&x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms444kbOK5
24ms508kbOK5
34ms568kbOK5
48ms664kbOK5
5204ms4364kbOK5
6236ms6724kbOK5
7264ms7036kbOK5
8284ms7196kbOK5
9296ms7352kbOK5
10304ms7664kbOK5
11224ms6724kbOK5
12288ms7668kbOK5
13356ms7664kbOK5
14392ms8284kbOK5
15560ms14576kbOK5
16588ms14576kbOK5
17584ms14572kbOK5
18584ms14732kbOK5
19576ms14888kbOK5
20580ms14880kbOK5
Punctaj total100

Ceva nu functioneaza?