Pagini recente » Borderou de evaluare (job #1457470) | Cod sursa (job #44802) | Borderou de evaluare (job #2411169) | Borderou de evaluare (job #1738187) | Borderou de evaluare (job #1568210)
Borderou de evaluare (job #1568210)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12:15: warning: unused variable ‘j’ [-Wunused-variable]
int n, i, j, t, d, ma;
^
user.cpp:12:18: warning: unused variable ‘t’ [-Wunused-variable]
int n, i, j, t, d, ma;
^
user.cpp:12:21: warning: unused variable ‘d’ [-Wunused-variable]
int n, i, j, t, d, ma;
^
user.cpp:12:24: warning: unused variable ‘ma’ [-Wunused-variable]
int n, i, j, t, d, ma;
^
user.cpp:9:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("buget.in","r",stdin);
^
user.cpp:10:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("buget.out","w",stdout);
^
user.cpp:15:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%lld",&n,&k);
^
user.cpp:19:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 268kb | OK | 10 |
| 2 | 0ms | 272kb | OK | 10 |
| 3 | 0ms | 276kb | OK | 10 |
| 4 | 0ms | 276kb | OK | 10 |
| 5 | 0ms | 300kb | OK | 10 |
| 6 | 0ms | 296kb | OK | 10 |
| 7 | 28ms | 436kb | OK | 10 |
| 8 | 24ms | 432kb | OK | 10 |
| 9 | 68ms | 632kb | OK | 10 |
| 10 | 60ms | 632kb | OK | 10 |
| Punctaj total | 100 |