Pagini recente » Borderou de evaluare (job #1344129) | Borderou de evaluare (job #2942257) | Borderou de evaluare (job #574013) | Borderou de evaluare (job #182512) | Borderou de evaluare (job #2090985)
Borderou de evaluare (job #2090985)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve()’:
user.cpp:34:6: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(valid(k))
^
user.cpp: In function ‘int main()’:
user.cpp:48:36: 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:49:38: 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:54:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &p);
^
user.cpp:57:22: 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 | 512kb | Raspuns corect ! | 10 |
2 | 0ms | 516kb | Raspuns corect ! | 10 |
3 | 0ms | 516kb | Raspuns corect ! | 10 |
4 | Depăşit | 476kb | Time limit exceeded. | 0 |
5 | Depăşit | 472kb | Time limit exceeded. | 0 |
6 | 0ms | 516kb | Raspuns corect ! | 10 |
7 | 0ms | 516kb | Raspuns corect ! | 10 |
8 | Depăşit | 472kb | Time limit exceeded. | 0 |
9 | Depăşit | 472kb | Time limit exceeded. | 0 |
10 | Depăşit | 476kb | Time limit exceeded. | 0 |
Punctaj total | 50 |