Pagini recente » Borderou de evaluare (job #756652) | Borderou de evaluare (job #610917) | Borderou de evaluare (job #1531500) | Borderou de evaluare (job #1899530) | Borderou de evaluare (job #1302919)
Borderou de evaluare (job #1302919)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:80:41: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
printf("%d %d\n",tmin[i],tmax[i]);
^
user.cpp:26: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:27: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:28:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:29:44: 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",&cost[i]);
^
user.cpp:32:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&m);
^
user.cpp:41:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 312kb | OK! | 10 |
2 | 0ms | 320kb | Gresit! | 3 |
3 | 0ms | 332kb | Gresit! | 3 |
4 | 0ms | 328kb | Gresit! | 3 |
5 | 0ms | 384kb | Gresit! | 3 |
6 | 0ms | 384kb | Gresit! | 3 |
7 | 0ms | 320kb | Gresit! | 3 |
8 | 0ms | 336kb | Gresit! | 3 |
9 | 0ms | 336kb | Gresit! | 3 |
10 | 0ms | 324kb | Gresit! | 3 |
Punctaj total | 37 |