Pagini recente » Borderou de evaluare (job #2378029) | Borderou de evaluare (job #2057743) | Borderou de evaluare (job #1823705) | Borderou de evaluare (job #1453272) | Borderou de evaluare (job #1302929)
Borderou de evaluare (job #1302929)
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 | 324kb | Timpul minim nu e ok! | 6 |
3 | 0ms | 332kb | OK! | 10 |
4 | 0ms | 332kb | Timpul minim nu e ok! | 6 |
5 | 0ms | 388kb | OK! | 10 |
6 | 0ms | 392kb | OK! | 10 |
7 | 0ms | 328kb | OK! | 10 |
8 | 0ms | 344kb | OK! | 10 |
9 | 0ms | 344kb | OK! | 10 |
10 | 0ms | 328kb | OK! | 10 |
Punctaj total | 92 |