Borderou de evaluare (job #2262734)

Utilizator rares22iunieDoroftei Rares rares22iunie Data 17 octombrie 2018 19:32:55
Problema Pseudobil Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 80

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:9:18: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long int*' [-Wformat=] scanf("%d",&p); ^ main.cpp:10:30: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long int*' [-Wformat=] scanf("%d %d %d",&n,&k,&d); ^ main.cpp:10:30: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long int*' [-Wformat=] main.cpp:10:30: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'long int*' [-Wformat=] main.cpp:13:30: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long int*' [-Wformat=] scanf("%d %d",&a1,&b1); ^ main.cpp:13:30: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long int*' [-Wformat=] main.cpp:16:18: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long int*' [-Wformat=] scanf("%d",&m); ^ main.cpp:19:22: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] printf("%d",z); ^ main.cpp:30:36: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long int*' [-Wformat=] scanf("%d %d",&x,&y); ^ main.cpp:30:36: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long int*' [-Wformat=] main.cpp:7:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("pseudobil.in","r",stdin); ^ main.cpp:8:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("pseudobil.out","w",stdout); ^ main.cpp:9:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&p); ^ main.cpp:10:31: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d",&n,&k,&d); ^ main.cpp:13:31: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d",&a1,&b1); ^ main.cpp:16:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&m); ^ main.cpp:30:37: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d",&x,&y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms131kbOK5
27ms131kbOK5
36ms131kbOK5
411ms131kbOK5
512ms786kbOK5
617ms3145kbOK5
745ms11141kbOK5
865ms13631kbOK5
964ms15597kbOK5
1069ms16121kbOK5
11143ms39059kbOK5
12149ms40763kbOK5
13156ms43253kbOK5
14168ms47579kbOK5
15191ms52166kbOK5
16194ms52166kbOK5
17228ms65552kbMemory limit exceeded0
18213ms65552kbMemory limit exceeded0
19216ms65552kbMemory limit exceeded0
20213ms65552kbMemory limit exceeded0
Punctaj total80

Ceva nu functioneaza?