Borderou de evaluare (job #1446266)
Utilizator | Data | 1 iunie 2015 10:01:58 | |
---|---|---|---|
Problema | Easyvect | Status | done |
Runda | Arhiva ICPC | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void sol()’:
user.cpp:118:12: error: invalid types ‘int [101000][int [101000]]’ for array subscript
timp[st] = 2000000000;
^
user.cpp:94:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x[i]);
^
user.cpp:121:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &z[i]);
^
user.cpp: In function ‘int main()’:
user.cpp:139:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("easyvect.in", "r", stdin);
^
user.cpp:140:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("easyvect.out", "w", stdout);
^
user.cpp:143:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &tt);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !