Borderou de evaluare (job #1651487)

Utilizator JokesWarMihai Baruta JokesWar Data 13 martie 2016 14:08:47
Problema Triunghi5 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 25

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:12:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d %d %d", &v, &n, &k); ^ user.cpp:12:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:12:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:7:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("triunghi5.in", "r", stdin); ^ user.cpp:8:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("triunghi5.out", "w", stdout); ^ user.cpp:12:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d", &v, &n, &k); ^ user.cpp:18:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld", &x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms228kbLungimi invalide in OUTPUT0
20ms268kbCorect5
30ms272kbLungimi invalide in OUTPUT0
40ms268kbCorect5
50ms272kbCorect5
60ms268kbCorect5
70ms264kbCorect5
80ms228kbLungimi invalide in OUTPUT0
90ms232kbLungimi invalide in OUTPUT0
100ms228kbLungimi invalide in OUTPUT0
110ms232kbLungimi invalide in OUTPUT0
120ms232kbLungimi invalide in OUTPUT0
130ms232kbLungimi invalide in OUTPUT0
140ms236kbLungimi invalide in OUTPUT0
150ms232kbLungimi invalide in OUTPUT0
160ms232kbLungimi invalide in OUTPUT0
170ms228kbLungimi invalide in OUTPUT0
180ms232kbLungimi invalide in OUTPUT0
190ms228kbLungimi invalide in OUTPUT0
200ms232kbLungimi invalide in OUTPUT0
Punctaj total25

Ceva nu functioneaza?