Borderou de evaluare (job #2643742)

Utilizator tryharderulbrebenel mihnea stefan tryharderul Data 21 august 2020 12:22:32
Problema Noname Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:13:26: 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:26: warning: format '%ld' expects argument of type 'long int*', but argument 3 has type 'long long int*' [-Wformat=] main.cpp:30:29: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'long long int' [-Wformat=] printf("%ld ",nr+i-1); ^ 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:27: 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
12ms131kbKilled by Signal 80
23ms131kbKilled by Signal 80
32ms131kbKilled by Signal 80
42ms131kbKilled by Signal 80
53ms131kbKilled by Signal 80
63ms131kbKilled by Signal 80
73ms131kbKilled by Signal 80
83ms131kbKilled by Signal 80
93ms131kbKilled by Signal 80
102ms131kbKilled by Signal 80
Punctaj total0

Ceva nu functioneaza?