Pagini recente » Borderou de evaluare (job #2600430) | Borderou de evaluare (job #2600592) | Borderou de evaluare (job #1113018) | Borderou de evaluare (job #1592614) | 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 |