Pagini recente » Borderou de evaluare (job #1137521) | Borderou de evaluare (job #457662) | Borderou de evaluare (job #2444701) | Borderou de evaluare (job #2712117) | Borderou de evaluare (job #1303962)
Borderou de evaluare (job #1303962)
Raport evaluator
Compilare:
user.cpp: In function ‘void createMax()’:
user.cpp:30:12: warning: statement has no effect [-Wunused-value]
for(ind;ind<p2&&ind<n;ind++)
^
user.cpp: In function ‘int main()’:
user.cpp:51:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d%d",&n,&m);
^
user.cpp:51:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:49:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("saracsaurege.in","r",stdin);
^
user.cpp:50:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("saracsaurege.out","w",stdout);
^
user.cpp:51: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:52:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(short i=0;i<n;++i)scanf("%hd",&v[i]);
^
user.cpp:58:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%hd%hd",&a,&b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 276kb | Time limit exceeded. | 0 |
2 | Depăşit | 268kb | Time limit exceeded. | 0 |
3 | Depăşit | 252kb | Time limit exceeded. | 0 |
4 | Depăşit | 272kb | Time limit exceeded. | 0 |
5 | 0ms | 252kb | Incorect | 0 |
6 | 0ms | 256kb | Incorect | 0 |
7 | Depăşit | 276kb | Time limit exceeded. | 0 |
8 | Depăşit | 252kb | Time limit exceeded. | 0 |
9 | Depăşit | 248kb | Time limit exceeded. | 0 |
10 | Depăşit | 252kb | Time limit exceeded. | 0 |
Punctaj total | 0 |