Borderou de evaluare (job #1794287)

Utilizator alittlezzCazaciuc Valentin alittlezz Data 1 noiembrie 2016 09:50:57
Problema Ratphu Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:17:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d %d", &n, &k); ^ user.cpp:17:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:38:32: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d", dp[limit-1][0]); ^ user.cpp:14:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("ratphu.in", "r", stdin); ^ user.cpp:15:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("ratphu.out", "w", stdout); ^ user.cpp:17:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &n, &k); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms440kbIncorect0
20ms440kbIncorect0
30ms484kbIncorect0
40ms636kbIncorect0
50ms636kbIncorect0
60ms640kbIncorect0
70ms636kbIncorect0
80ms632kbIncorect0
90ms636kbIncorect0
100ms636kbIncorect0
Punctaj total0

Ceva nu functioneaza?