Pagini recente » Borderou de evaluare (job #1313819) | Borderou de evaluare (job #2634359) | Cod sursa (job #175258) | Borderou de evaluare (job #50981) | Borderou de evaluare (job #1403878)
Borderou de evaluare (job #1403878)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:10:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("br.in","r",stdin);
^
user.cpp:11:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("br.out","w",stdout);
^
user.cpp:12:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
user.cpp:15:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &poz, &cost);
^
user.cpp: In function ‘void citeste()’:
user.cpp:6:43: 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", &a[i]); s[i]=s[i-1]+a[i];}
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 260kb | OK | 10 |
| 2 | 0ms | 268kb | OK | 10 |
| 3 | 0ms | 268kb | OK | 10 |
| 4 | 8ms | 268kb | OK | 10 |
| 5 | 8ms | 272kb | OK | 10 |
| 6 | 8ms | 280kb | OK | 10 |
| 7 | 8ms | 340kb | OK | 10 |
| 8 | 8ms | 388kb | OK | 10 |
| 9 | 12ms | 412kb | OK | 10 |
| 10 | 12ms | 432kb | OK | 10 |
| Punctaj total | 100 |