Borderou de evaluare (job #1911386)
Utilizator | Data | 7 martie 2017 20:20:18 | |
---|---|---|---|
Problema | ClassicTask | Status | done |
Runda | Arhiva Monthly | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:16:25: error: expected primary-expression before ‘__int128’
if(b % 2) x = ((__int128)x * a) % c;
^
user.cpp:16:25: error: expected ‘)’ before ‘__int128’
user.cpp:16:44: error: expected ‘)’ before ‘;’ token
if(b % 2) x = ((__int128)x * a) % c;
^
user.cpp:18:15: error: expected primary-expression before ‘__int128’
a = ((__int128)a * a) % c;
^
user.cpp:18:15: error: expected ‘)’ before ‘__int128’
user.cpp:18:34: error: expected ‘)’ before ‘;’ token
a = ((__int128)a * a) % c;
^
user.cpp:7:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("classictask.in", "r", stdin);
^
user.cpp:8:44: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("classictask.out", "w", stdout);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !