Borderou de evaluare (job #1466697)
Utilizator | Data | 29 iulie 2015 21:25:01 | |
---|---|---|---|
Problema | Drumuri2 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:15:23: error: pasting "ProblemName" and "." does not give a valid preprocessing token
#define InFile MQUOTE(ProblemName##.in)
^
user.cpp:125:17: note: in expansion of macro ‘InFile’
assert(freopen(InFile, "r", stdin));
^
user.cpp:16:23: error: pasting "ProblemName" and "." does not give a valid preprocessing token
#define OuFile MQUOTE(ProblemName##.out)
^
user.cpp:126:17: note: in expansion of macro ‘OuFile’
assert(freopen(OuFile, "w", stdout));
^
user.cpp: In function ‘int main()’:
user.cpp:128:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &N, &M);
^
user.cpp:138:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &a, &b);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !