Borderou de evaluare (job #1435975)

Utilizator MarianMMorosac George Marian MarianM Data 14 mai 2015 20:58:00
Problema Catun Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:39:13: warning: integer constant is so large that it is unsigned [enabled by default] ull dist = INF; ^ user.cpp: In function ‘void reading()’: user.cpp:45:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long unsigned int*’ [-Wformat=] scanf("%d %d %d", &N, &M, &K); ^ user.cpp:45:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long unsigned int*’ [-Wformat=] user.cpp:45:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long unsigned int*’ [-Wformat=] user.cpp:50:17: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long unsigned int*’ [-Wformat=] scanf("%d", &x); ^ user.cpp:57:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long unsigned int*’ [-Wformat=] scanf("%d %d %d", &x, &y, &z); ^ user.cpp:57:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long unsigned int*’ [-Wformat=] user.cpp:57:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long unsigned int*’ [-Wformat=] user.cpp: In function ‘void writing()’: user.cpp:95:32: error: ‘prullf’ was not declared in this scope prullf("%d ", graph[i].origin); ^ user.cpp: At global scope: user.cpp:99:10: error: ‘::main’ must return ‘int’ ull main(){ ^ user.cpp: In function ‘int main()’: user.cpp:100:9: warning: unused variable ‘j’ [-Wunused-variable] ull i, j, x; ^ user.cpp:100:12: warning: unused variable ‘x’ [-Wunused-variable] ull i, j, x; ^ user.cpp: In function ‘void reading()’: user.cpp:45:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d", &N, &M, &K); ^ user.cpp:50:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &x); ^ user.cpp:57:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d", &x, &y, &z); ^ user.cpp: In function ‘int main()’: user.cpp:104:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("catun.in", "r", stdin); ^ user.cpp:105:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("catun.out", "w", stdout); ^

Ceva nu functioneaza?