Mai intai trebuie sa te autentifici.
Borderou de evaluare (job #1752844)
| Utilizator | Data | 5 septembrie 2016 13:22:56 | |
|---|---|---|---|
| Problema | Concurs | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
| Scor | 40 | ||
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:23:18: warning: unused variable ‘j’ [-Wunused-variable]
int n, m, i, j, x, y, q, a, b, maxi;
^
user.cpp:20:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("concurs.in","r",stdin);
^
user.cpp:21:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("concurs.out","w",stdout);
^
user.cpp:26: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:27:57: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for( i = 1; i <= n; ++i ) scanf("%d",&punctaje[ i ]);
^
user.cpp:29:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&y);
^
user.cpp:36:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&y);
^
| Test | Timp executie | Memorie folosita | Mesaj | Punctaj/test |
|---|---|---|---|---|
| 1 | 0ms | 664kb | OK | 10 |
| 2 | 0ms | 672kb | OK | 10 |
| 3 | 0ms | 780kb | OK | 10 |
| 4 | 4ms | 696kb | Incorect | 0 |
| 5 | 4ms | 708kb | Incorect | 0 |
| 6 | 12ms | 792kb | Incorect | 0 |
| 7 | 276ms | 7024kb | OK | 10 |
| 8 | 24ms | 924kb | Incorect | 0 |
| 9 | 180ms | 1064kb | Incorect | 0 |
| 10 | 256ms | 1084kb | Incorect | 0 |
| Punctaj total | 40 | |||
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
