Pagini recente » Borderou de evaluare (job #1634752) | Borderou de evaluare (job #2804449) | Borderou de evaluare (job #1651117) | Borderou de evaluare (job #1213061) | Borderou de evaluare (job #1746442)
Borderou de evaluare (job #1746442)
Raport evaluator
Compilare:
user.cpp: In function ‘void comb(int)’:
user.cpp:23:11: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(x[k]>x[k-1])
^
user.cpp: In function ‘int main()’:
user.cpp:33:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dezastru.in","r",stdin);
^
user.cpp:34:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dezastru.out","w",stdout);
^
user.cpp:35:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&N,&K);
^
user.cpp:37:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lf",&a[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 504kb | Raspuns corect ! | 10 |
2 | 0ms | 512kb | Raspuns corect ! | 10 |
3 | 0ms | 508kb | Raspuns corect ! | 10 |
4 | 0ms | 508kb | Raspuns corect ! | 10 |
5 | Depăşit | 432kb | Time limit exceeded. | 0 |
6 | 0ms | 512kb | Raspuns corect ! | 10 |
7 | 0ms | 512kb | Raspuns corect ! | 10 |
8 | Depăşit | 436kb | Time limit exceeded. | 0 |
9 | Depăşit | 436kb | Time limit exceeded. | 0 |
10 | Depăşit | 436kb | Time limit exceeded. | 0 |
Punctaj total | 60 |