Borderou de evaluare (job #1651490)

Utilizator JokesWarMihai Baruta JokesWar Data 13 martie 2016 14:10:03
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
10ms248kbLungimi invalide in OUTPUT0
20ms280kbCorect5
30ms280kbLungimi invalide in OUTPUT0
40ms284kbCorect5
50ms288kbCorect5
60ms288kbCorect5
70ms280kbCorect5
80ms240kbLungimi invalide in OUTPUT0
90ms244kbLungimi invalide in OUTPUT0
100ms244kbLungimi invalide in OUTPUT0
110ms244kbLungimi invalide in OUTPUT0
120ms248kbLungimi invalide in OUTPUT0
130ms240kbLungimi invalide in OUTPUT0
140ms240kbLungimi invalide in OUTPUT0
150ms240kbLungimi invalide in OUTPUT0
160ms244kbLungimi invalide in OUTPUT0
170ms248kbLungimi invalide in OUTPUT0
180ms244kbLungimi invalide in OUTPUT0
190ms240kbLungimi invalide in OUTPUT0
200ms244kbLungimi invalide in OUTPUT0
Punctaj total25

Ceva nu functioneaza?