Borderou de evaluare (job #1264215)

Utilizator smaraldaSmaranda Dinu smaralda Data 15 noiembrie 2014 16:49:47
Problema Cele mai apropiate puncte din plan Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In member function ‘void POINT::read()’: user.cpp:15:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] scanf("%lld%d", &x, &y); ^ user.cpp: In function ‘long long int solve(int, int)’: user.cpp:47:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i = 0; i < y.size(); ++ i) ^ user.cpp:48:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(j = i + 1; j < y.size() && j - i <= 8; ++ j) ^ user.cpp: In function ‘int main()’: user.cpp:54:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cmap.in", "r", stdin); ^ user.cpp:55:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cmap.out", "w", stdout); ^ user.cpp:58:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp: In member function ‘void POINT::read()’: user.cpp:15:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld%d", &x, &y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms292kbKilled by signal 11(SIGSEGV).0
20ms292kbKilled by signal 11(SIGSEGV).0
34ms440kbKilled by signal 11(SIGSEGV).0
44ms436kbKilled by signal 11(SIGSEGV).0
536ms748kbKilled by signal 11(SIGSEGV).0
632ms1060kbKilled by signal 11(SIGSEGV).0
748ms1376kbKilled by signal 11(SIGSEGV).0
868ms1848kbKilled by signal 11(SIGSEGV).0
9160ms1840kbKilled by signal 11(SIGSEGV).0
1064ms1844kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?