Borderou de evaluare (job #2491505)

Utilizator MateiAruxandeiMateiStefan MateiAruxandei Data 12 noiembrie 2019 18:02:12
Problema Triplete Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'void citire()': main.cpp:14:26: warning: format '%ld' expects argument of type 'long int*', but argument 2 has type 'int*' [-Wformat=] scanf("%ld %ld",&n,&m); ^ main.cpp:14:26: warning: format '%ld' expects argument of type 'long int*', but argument 3 has type 'int*' [-Wformat=] main.cpp:25:30: warning: format '%ld' expects argument of type 'long int*', but argument 2 has type 'int*' [-Wformat=] scanf("%ld %ld",&a,&b); ^ main.cpp:25:30: warning: format '%ld' expects argument of type 'long int*', but argument 3 has type 'int*' [-Wformat=] main.cpp: In function 'int main()': main.cpp:53:21: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'int' [-Wformat=] printf("%ld",rez); ^ main.cpp: In function 'void citire()': main.cpp:14:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%ld %ld",&n,&m); ^ main.cpp:25:31: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%ld %ld",&a,&b); ^ main.cpp: In function 'int main()': main.cpp:49:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("triplete.in","r",stdin); ^ main.cpp:50:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("triplete.out","w",stdout); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms262kbIncorect0
224ms262kbIncorect0
360ms376kbIncorect0
495ms516kbIncorect0
5132ms655kbIncorect0
6151ms860kbTime limit exceeded0
7153ms913kbTime limit exceeded0
8151ms897kbTime limit exceeded0
9152ms913kbTime limit exceeded0
10153ms913kbTime limit exceeded0
Punctaj total0

Ceva nu functioneaza?