Pagini recente » Cod sursa (job #1752847) | Borderou de evaluare (job #2666170) | Borderou de evaluare (job #2358139) | Borderou de evaluare (job #1538734) | Borderou de evaluare (job #1673460)
Borderou de evaluare (job #1673460)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:20:21: warning: unused variable ‘s’ [-Wunused-variable]
int n, m, i, j, s, t, d, k;
^
user.cpp:20:27: warning: unused variable ‘d’ [-Wunused-variable]
int n, m, i, j, s, t, d, k;
^
user.cpp:17:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("note.in","r",stdin);
^
user.cpp:18:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("note.out","w",stdout);
^
user.cpp:22:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&t,&m);
^
user.cpp:25:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&k);
^
user.cpp:30:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:31:48: 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",&v[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 4ms | 4476kb | Incorect | 0 |
| 2 | 4ms | 4576kb | OK | 10 |
| 3 | 4ms | 4488kb | OK | 10 |
| 4 | 4ms | 4488kb | OK | 10 |
| 5 | 12ms | 4584kb | OK | 10 |
| 6 | 36ms | 4676kb | OK | 10 |
| 7 | 104ms | 4680kb | OK | 10 |
| 8 | 12ms | 4588kb | OK | 10 |
| 9 | 100ms | 4624kb | OK | 10 |
| 10 | 8ms | 4576kb | OK | 10 |
| Punctaj total | 90 |