Borderou de evaluare (job #1465343)
Utilizator | Data | 27 iulie 2015 00:52:19 | |
---|---|---|---|
Problema | Sortare topologica | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:62:7: error: expected ‘(’ before ‘each’
for each (uint32 neighbor in neighbors[x])
^
user.cpp:13:16: error: expected primary-expression before ‘unsigned’
#define uint32 unsigned int32
^
user.cpp:62:13: note: in expansion of macro ‘uint32’
for each (uint32 neighbor in neighbors[x])
^
user.cpp:62:44: error: ‘each’ was not declared in this scope
for each (uint32 neighbor in neighbors[x])
^
user.cpp:63:3: error: expected ‘;’ before ‘{’ token
{
^
user.cpp:74:1: error: expected primary-expression at end of input
}
^
user.cpp:74:1: error: expected ‘;’ at end of input
user.cpp:74:1: error: expected primary-expression at end of input
user.cpp:74:1: error: expected ‘)’ at end of input
user.cpp:74:1: error: expected statement at end of input
user.cpp:74:1: error: expected ‘}’ at end of input
user.cpp:74:1: error: expected ‘}’ at end of input
user.cpp:25:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(INPUT_FILE, "r", stdin);
^
user.cpp:26:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(OUTPUT_FILE, "w", stdout);
^
user.cpp:29:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%u %u", &N, &M);
^
user.cpp:40:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%u %u", &x, &y);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !