Pagini recente » Borderou de evaluare (job #2458144) | Borderou de evaluare (job #2553577) | Borderou de evaluare (job #2367568) | Borderou de evaluare (job #1189669) | Borderou de evaluare (job #1609091)
Borderou de evaluare (job #1609091)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:27:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘char*’ [-Wformat=]
scanf("%d ",&v[i][0]);
^
user.cpp:21:11: warning: unused variable ‘max1’ [-Wunused-variable]
int n,max1=0;
^
user.cpp:19:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pm2.in","r",stdin);
^
user.cpp:20:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pm2.out","w",stdout);
^
user.cpp:22:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ",&n);
^
user.cpp:24:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ",&t[i]);
^
user.cpp:27:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ",&v[i][0]);
^
user.cpp:31:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ",&a);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 268kb | OK! | 10 |
2 | 0ms | 284kb | OK! | 10 |
3 | 0ms | 296kb | Gresit! | 0 |
4 | 0ms | 288kb | OK! | 10 |
5 | 0ms | 296kb | A doua valoare gresita! | 7 |
6 | 0ms | 296kb | Gresit! | 0 |
7 | 0ms | 292kb | Gresit! | 0 |
8 | 0ms | 300kb | Gresit! | 0 |
9 | 0ms | 296kb | Gresit! | 0 |
10 | 0ms | 284kb | OK! | 10 |
Punctaj total | 47 |