Borderou de evaluare (job #2043515)
Utilizator | Data | 20 octombrie 2017 10:06:23 | |
---|---|---|---|
Problema | Pufarina | Status | done |
Runda | Arhiva ICPC | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:25:18: error: ‘T’ was not declared in this scope
scanf("%d", &T);
^
user.cpp:27:22: error: ‘N’ was not declared in this scope
scanf("%d", &N);
^
user.cpp:29:27: error: ‘A’ was not declared in this scope
scanf("%lf", &A[i]);
^
user.cpp:33:42: error: ‘A’ was not declared in this scope
long long crt = (long long)((A[i] + 1e-4) * 1000);
^
user.cpp:22:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pufarina.in", "r", stdin);
^
user.cpp:23:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pufarina.out","w", stdout);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !