Borderou de evaluare (job #2633398)

Utilizator nicolaee2Martinescu Nicolae nicolaee2 Data 7 iulie 2020 14:12:16
Problema Maxd Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:17:23: warning: format '%ld' expects argument of type 'long int*', but argument 2 has type 'int*' [-Wformat=] scanf("%ld %ld",&a,&b); ^ main.cpp:17:23: warning: format '%ld' expects argument of type 'long int*', but argument 3 has type 'int*' [-Wformat=] main.cpp:89:44: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'int' [-Wformat=] printf("%ld %ld %ld\n",a+poz-1,max,contor); ^ main.cpp:89:44: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'int' [-Wformat=] main.cpp:89:44: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'int' [-Wformat=] main.cpp:13:30: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("maxd.in","r",stdin); ^ main.cpp:15:32: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("maxd.out","w",stdout); ^ main.cpp:17:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%ld %ld",&a,&b); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
153ms262kbTime limit exceeded00
253ms262kbTime limit exceeded0
353ms262kbTime limit exceeded0
453ms262kbTime limit exceeded0
553ms262kbTime limit exceeded00
653ms262kbTime limit exceeded0
76ms262kbOK10
853ms262kbTime limit exceeded00
953ms262kbTime limit exceeded0
1053ms262kbTime limit exceeded0
Punctaj total0

Ceva nu functioneaza?