Pagini recente » Borderou de evaluare (job #2604999) | Cod sursa (job #3129209) | Cod sursa (job #1127393) | Cod sursa (job #97111) | Borderou de evaluare (job #1517933)
Borderou de evaluare (job #1517933)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:14:21: warning: unused variable ‘t’ [-Wunused-variable]
int n, i, j, s, t, d, k, ma;
^
user.cpp:14:24: warning: unused variable ‘d’ [-Wunused-variable]
int n, i, j, s, t, d, k, ma;
^
user.cpp:14:30: warning: unused variable ‘ma’ [-Wunused-variable]
int n, i, j, s, t, d, k, ma;
^
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("maxsecv.in","r",stdin);
^
user.cpp:11:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("maxsecv.out","w",stdout);
^
user.cpp:17:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:20:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&k);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 272kb | OK | 10 |
| 2 | 0ms | 280kb | OK | 10 |
| 3 | 0ms | 280kb | OK | 10 |
| 4 | 0ms | 284kb | OK | 10 |
| 5 | 20ms | 360kb | OK | 10 |
| 6 | 40ms | 452kb | OK | 10 |
| 7 | 92ms | 452kb | OK | 10 |
| 8 | 148ms | 560kb | OK | 10 |
| 9 | 152ms | 596kb | OK | 10 |
| 10 | 184ms | 628kb | OK | 10 |
| Punctaj total | 100 |