Borderou de evaluare (job #2456840)

Utilizator rebecca0312Andrei Rebecca rebecca0312 Data 15 septembrie 2019 16:29:45
Problema Diamant Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:11:31: warning: format '%ld' expects argument of type 'long int*', but argument 2 has type 'int*' [-Wformat=] scanf("%ld%ld%ld", &n, &m, &x); ^ main.cpp:11:31: warning: format '%ld' expects argument of type 'long int*', but argument 3 has type 'int*' [-Wformat=] main.cpp:11:31: warning: format '%ld' expects argument of type 'long int*', but argument 4 has type 'int*' [-Wformat=] main.cpp:28:43: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'int' [-Wformat=] printf("%ld\n", dp[1-pos][x+CONST]); ^ main.cpp:8:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("diamant.in", "r", stdin); ^ main.cpp:9:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("diamant.out", "w", stdout); ^ main.cpp:11:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%ld%ld%ld", &n, &m, &x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
13ms131kbKilled by Signal 110
24ms131kbKilled by Signal 110
38ms131kbKilled by Signal 110
410ms131kbKilled by Signal 110
55ms131kbKilled by Signal 110
618ms131kbKilled by Signal 110
761ms262kbKilled by Signal 110
8115ms524kbKilled by Signal 110
9175ms655kbKilled by Signal 110
10225ms786kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?