Borderou de evaluare (job #2637986)

Utilizator tryharderulbrebenel mihnea stefan tryharderul Data 26 iulie 2020 11:54:56
Problema Noname 3 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 20

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:13:25: warning: format '%ld' expects argument of type 'long int*', but argument 2 has type 'long long int*' [-Wformat=] scanf("%ld%ld",&n,&s); ^ main.cpp:13:25: warning: format '%ld' expects argument of type 'long int*', but argument 3 has type 'long long int*' [-Wformat=] main.cpp:27:28: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'long long int' [-Wformat=] printf("%ld ",i+dif); ^ main.cpp:30:25: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'long long int' [-Wformat=] printf("%ld",i+dif+r); ^ main.cpp:10:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("noname3.in","r",stdin); ^ main.cpp:11:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("noname3.out","w",stdout); ^ main.cpp:13:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%ld%ld",&n,&s); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
12ms131kbOK1010
22ms131kbIncorect00
32ms131kbIncorect00
42ms131kbIncorect00
52ms131kbIncorect00
63ms131kbIncorect00
72ms131kbIncorect0
82ms131kbOK10
92ms131kbIncorect00
102ms131kbOK1010
Punctaj total20

Ceva nu functioneaza?