Pagini recente » Borderou de evaluare (job #1503708) | Borderou de evaluare (job #2910530) | Borderou de evaluare (job #559867) | Borderou de evaluare (job #3250929) | Borderou de evaluare (job #1368239)
Borderou de evaluare (job #1368239)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:15: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:16: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:18:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:19:43: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (i=1; i<=n; i++) scanf("%d",&a[i]);
^
user.cpp:22:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&b[i][0]);
^
user.cpp:23:56: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (j=1; j<=b[i][0]; j++) scanf("%d",&b[i][j]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 300kb | OK! | 10 |
2 | 0ms | 308kb | OK! | 10 |
3 | 0ms | 336kb | A doua valoare gresita! | 7 |
4 | 0ms | 336kb | OK! | 10 |
5 | 0ms | 340kb | OK! | 10 |
6 | 0ms | 340kb | A doua valoare gresita! | 7 |
7 | 0ms | 312kb | A doua valoare gresita! | 7 |
8 | 0ms | 324kb | A doua valoare gresita! | 7 |
9 | 0ms | 328kb | A doua valoare gresita! | 7 |
10 | 0ms | 304kb | OK! | 10 |
Punctaj total | 85 |