Borderou de evaluare (job #2279666)

Utilizator rares22iunieDoroftei Rares rares22iunie Data 9 noiembrie 2018 21:03:13
Problema Placare Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 10

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:14:24: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long int*' [-Wformat=] scanf("%d %d",&n,&m); ^ main.cpp:14:24: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long int*' [-Wformat=] main.cpp:29:30: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long int*' [-Wformat=] scanf("%d",&x); ^ main.cpp:35:43: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] printf("%d ",x); ^ main.cpp:46:35: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] printf("%d ",x); ^ main.cpp:51:26: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long int*' [-Wformat=] scanf("%d",&x); ^ main.cpp:12:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("placare.in","r",stdin); ^ main.cpp:13:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("placare.out","w",stdout); ^ main.cpp:14:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d",&n,&m); ^ main.cpp:29:31: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&x); ^ main.cpp:51:27: 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
1103ms1441kbTime limit exceeded0
2100ms1310kbTime limit exceeded0
3101ms1835kbTime limit exceeded0
4103ms1703kbTime limit exceeded0
5101ms1835kbTime limit exceeded0
63ms131kbOK10
7101ms1572kbTime limit exceeded0
8103ms2097kbTime limit exceeded0
9101ms1835kbTime limit exceeded0
10103ms1441kbTime limit exceeded0
Punctaj total10

Ceva nu functioneaza?