Borderou de evaluare (job #1651494)

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

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
10ms244kbLungimi invalide in OUTPUT0
20ms288kbCorect5
30ms284kbLungimi invalide in OUTPUT0
40ms288kbCorect5
50ms288kbLungimi invalide in OUTPUT0
60ms284kbCorect5
70ms288kbCorect5
80ms248kbLungimi invalide in OUTPUT0
90ms244kbLungimi invalide in OUTPUT0
100ms244kbLungimi invalide in OUTPUT0
110ms244kbLungimi invalide in OUTPUT0
120ms240kbLungimi invalide in OUTPUT0
130ms244kbLungimi invalide in OUTPUT0
140ms244kbLungimi invalide in OUTPUT0
150ms244kbLungimi invalide in OUTPUT0
160ms244kbLungimi invalide in OUTPUT0
170ms244kbLungimi invalide in OUTPUT0
180ms244kbLungimi invalide in OUTPUT0
190ms248kbLungimi invalide in OUTPUT0
200ms240kbLungimi invalide in OUTPUT0
Punctaj total20

Ceva nu functioneaza?