Pagini recente » Borderou de evaluare (job #765996) | Borderou de evaluare (job #2740301) | Borderou de evaluare (job #922794) | Borderou de evaluare (job #810358) | Borderou de evaluare (job #1573860)
Borderou de evaluare (job #1573860)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:32:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘int (*)[1025]’ [-Wformat=]
scanf("%d",&a[j]);
^
user.cpp:27:30: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("alpin.in","r",stdin);
^
user.cpp:28:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("alpin.out","w",stdout);
^
user.cpp:29:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:32:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a[j]);
^
user.cpp:46:32: warning: ‘x’ is used uninitialized in this function [-Wuninitialized]
printf("%d\n%d %d\n",maxim,x,y);
^
user.cpp:46:32: warning: ‘y’ is used uninitialized in this function [-Wuninitialized]
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 336kb | Time limit exceeded. | 0 |
2 | Depăşit | 544kb | Time limit exceeded. | 0 |
3 | Depăşit | 776kb | Time limit exceeded. | 0 |
4 | Depăşit | 768kb | Time limit exceeded. | 0 |
5 | Depăşit | 1556kb | Time limit exceeded. | 0 |
6 | Depăşit | 2044kb | Time limit exceeded. | 0 |
7 | Depăşit | 3408kb | Time limit exceeded. | 0 |
8 | Depăşit | 3900kb | Time limit exceeded. | 0 |
9 | Depăşit | 4260kb | Time limit exceeded. | 0 |
10 | Depăşit | 4360kb | Time limit exceeded. | 0 |
Punctaj total | 0 |