Borderou de evaluare (job #1850791)

Utilizator danyvsDan Castan danyvs Data 18 ianuarie 2017 22:04:08
Problema Easygraph Status done
Runda Arhiva ICPC Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void read()’: user.cpp:21:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%I64d", &val[i]); ^ user.cpp: In function ‘int main()’: user.cpp:87:37: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%I64d\n", sum_max()); ^ user.cpp: In function ‘void read()’: user.cpp:18:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &n, &m); ^ user.cpp:21:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%I64d", &val[i]); ^ user.cpp:26:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &x, &y); ^ user.cpp: In function ‘int main()’: user.cpp:80:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("easygraph.in", "r", stdin); ^ user.cpp:81:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("easygraph.out", "w", stdout); ^ user.cpp:82:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &task); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit1684kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?