Borderou de evaluare (job #2456842)

Utilizator rebecca0312Andrei Rebecca rebecca0312 Data 15 septembrie 2019 16:30:51
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:30: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
12ms131kbKilled by Signal 110
24ms131kbKilled by Signal 110
312ms131kbKilled by Signal 110
412ms131kbKilled by Signal 110
56ms131kbKilled by Signal 110
618ms131kbKilled by Signal 110
764ms262kbKilled by Signal 110
8139ms524kbKilled by Signal 110
9175ms655kbKilled by Signal 110
10253ms786kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?