Pagini recente » Borderou de evaluare (job #970414) | Borderou de evaluare (job #609993) | Borderou de evaluare (job #209469) | Borderou de evaluare (job #1603772) | Borderou de evaluare (job #1480524)
Borderou de evaluare (job #1480524)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:48:39: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
if(t>=v[n]) printf("%d\n",w[n]);
^
user.cpp:54:46: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n",w[aux-1]+(t*(n-aux+1)));
^
user.cpp:13:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("inundatie.in","r",stdin);
^
user.cpp:14:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("inundatie.out","w",stdout);
^
user.cpp:15:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:19:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
user.cpp:37:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&q);
^
user.cpp:40:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 264kb | OK | 10 |
2 | 0ms | 296kb | OK | 10 |
3 | 68ms | 388kb | Incorect | 0 |
4 | 280ms | 532kb | OK | 10 |
5 | Depăşit | 624kb | Time limit exceeded. | 0 |
6 | Depăşit | 740kb | Time limit exceeded. | 0 |
7 | Depăşit | 996kb | Time limit exceeded. | 0 |
8 | Depăşit | 1152kb | Time limit exceeded. | 0 |
9 | Depăşit | 1312kb | Time limit exceeded. | 0 |
10 | 0ms | 260kb | OK | 10 |
Punctaj total | 40 |