Pagini recente » Borderou de evaluare (job #2096311) | Borderou de evaluare (job #812273) | Borderou de evaluare (job #1455854) | Borderou de evaluare (job #792829) | Borderou de evaluare (job #1302924)
Borderou de evaluare (job #1302924)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:78:34: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘int’ [-Wformat=]
printf("%lld\n",Max+cost[poz]);
^
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 | 320kb | Timpul minim nu e ok! | 6 |
2 | 0ms | 328kb | Timpul minim nu e ok! | 6 |
3 | 0ms | 336kb | Timpul minim nu e ok! | 6 |
4 | 0ms | 332kb | Timpul minim nu e ok! | 6 |
5 | 0ms | 388kb | Timpul minim nu e ok! | 6 |
6 | 0ms | 392kb | Timpul minim nu e ok! | 6 |
7 | 0ms | 324kb | Timpul minim nu e ok! | 6 |
8 | 0ms | 336kb | Timpul minim nu e ok! | 6 |
9 | 0ms | 344kb | Timpul minim nu e ok! | 6 |
10 | 0ms | 328kb | Timpul minim nu e ok! | 6 |
Punctaj total | 60 |