Borderou de evaluare (job #2225612)

Utilizator bogdi1bogdan bancuta bogdi1 Data 27 iulie 2018 18:19:41
Problema Triunghi5 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:39:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d ", x); ^ user.cpp:41:32: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d ", x); ^ user.cpp:48:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d ", x); ^ user.cpp:50:32: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d ", x); ^ user.cpp:83:30: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d ", *it); ^ user.cpp:26:39: 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:27:41: 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:30:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d", &cer, &n, &k); ^ user.cpp:33:26: 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
10ms796kbLungimi invalide in OUTPUT0
20ms800kblungimile formeaza triunghi !0
30ms860kblungimile formeaza triunghi !0
40ms864kblungimile formeaza triunghi !0
50ms796kblungimile formeaza triunghi !0
60ms872kblungimile formeaza triunghi !0
70ms876kblungimile formeaza triunghi !0
80ms864kbLungimi invalide in OUTPUT0
90ms804kbLungimi invalide in OUTPUT0
100ms796kbLungimi invalide in OUTPUT0
110ms752kbLungimi invalide in OUTPUT0
120ms756kbLungimi invalide in OUTPUT0
130ms752kbLungimi invalide in OUTPUT0
140ms856kbLungimi invalide in OUTPUT0
150ms756kbLungimi invalide in OUTPUT0
160ms756kbLungimi invalide in OUTPUT0
170ms876kbLungimi invalide in OUTPUT0
180ms816kbLungimi invalide in OUTPUT0
190ms752kbCorect !5
200ms796kbCorect !5
Punctaj total10

Ceva nu functioneaza?