Borderou de evaluare (job #1264217)

Utilizator smaraldaSmaranda Dinu smaralda Data 15 noiembrie 2014 16:50:49
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
10ms360kbIncorect0
20ms364kbIncorect0
324ms528kbIncorect0
424ms528kbIncorect0
580ms1392kbIncorect0
6144ms2044kbIncorect0
7200ms2704kbIncorect0
8300ms3552kbIncorect0
9300ms3556kbIncorect0
10300ms3552kbIncorect0
Punctaj total0

Ceva nu functioneaza?