Borderou de evaluare (job #2371869)

Utilizator vladisimovlad coneschi vladisimo Data 6 martie 2019 19:58:48
Problema Panza Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 10

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:37:21: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=] printf("%d", dp[f]); ^ main.cpp:9:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("panza.in", "r", stdin); ^ 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("panza.out", "w", stdout); ^ main.cpp:12:36: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d%d", &n, &m, &s, &f); ^ main.cpp:14:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &a[i]); ^ main.cpp:16:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &x, &y); ^ main.cpp:25:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &x, &y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOK10
25ms1310kbKilled by Signal 110
35ms1310kbKilled by Signal 110
46ms1310kbKilled by Signal 110
56ms1310kbKilled by Signal 110
66ms1310kbKilled by Signal 110
75ms1310kbKilled by Signal 110
812ms1310kbKilled by Signal 110
930ms1310kbKilled by Signal 110
1021ms1048kbKilled by Signal 110
Punctaj total10

Ceva nu functioneaza?