Borderou de evaluare (job #1985993)

Utilizator UPB_ByteMeByteMe UPB_ByteMe Data 28 mai 2017 12:11:48
Problema Gap Status done
Runda ACM ICPC Faza Nationala 2017 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘long long int fromVector(std::vector<int>&)’: user.cpp:19:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < digits.size(); i++) { ^ user.cpp: In function ‘long long int fromVector(int, std::vector<int>&)’: user.cpp:27:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < digits.size(); i++) { ^ user.cpp: In function ‘long long int max_perm(int, std::vector<int>)’: user.cpp:37:15: warning: unused variable ‘n’ [-Wunused-variable] long long n = fromVector(front, digits); ^ user.cpp:38:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ user.cpp: In function ‘long long int min_perm(int, std::vector<int>)’: user.cpp:44:15: warning: unused variable ‘n’ [-Wunused-variable] long long n = fromVector(front, digits); ^ user.cpp:45:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ user.cpp: In function ‘int main()’: user.cpp:64:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < digits.size() - 1; ++i) { ^ user.cpp:51:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("gap.in", "r", stdin); ^ user.cpp:52:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("gap.out", "w", stdout); ^ user.cpp:54:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &T); ^ user.cpp:58:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld", &n); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
11936ms280kbIncorect0
Punctaj total0

Ceva nu functioneaza?