Borderou de evaluare (job #1651498)

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

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
10ms232kbLungimi invalide in OUTPUT0
20ms264kbCorect5
30ms264kbCorect5
40ms268kbCorect5
50ms272kbCorect5
60ms268kbCorect5
70ms268kbCorect5
80ms228kbLungimi invalide in OUTPUT0
90ms228kbLungimi invalide in OUTPUT0
100ms228kbLungimi invalide in OUTPUT0
110ms232kbLungimi invalide in OUTPUT0
120ms232kbLungimi invalide in OUTPUT0
130ms232kbLungimi invalide in OUTPUT0
140ms232kbLungimi invalide in OUTPUT0
150ms232kbLungimi invalide in OUTPUT0
160ms228kbLungimi invalide in OUTPUT0
170ms232kbLungimi invalide in OUTPUT0
180ms228kbLungimi invalide in OUTPUT0
190ms232kbLungimi invalide in OUTPUT0
200ms232kbLungimi invalide in OUTPUT0
Punctaj total30

Ceva nu functioneaza?