Borderou de evaluare (job #1945157)

Utilizator CocoriiTNTCNILC Tudose Niculae CocoriiTNT Data 29 martie 2017 13:11:21
Problema Rgb Status done
Runda AGM 2017 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void show()’: user.cpp:22:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0 ; i < p[0].size() ; i++) ^ user.cpp:26:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0 ; i < p[1].size() ; i++) ^ user.cpp:30:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0 ; i < p[2].size() ; i++) ^ user.cpp: In function ‘int main()’: user.cpp:38:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("rgb.in" , "r" , stdin); ^ user.cpp:39:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("rgb.out" , "w" , stdout); ^ user.cpp:41:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d" , &T); ^ user.cpp:44:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d" , &v[0]); ^ user.cpp:45:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d" , &v[1]); ^ user.cpp:46:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d" , &v[2]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms436kbIncorect0
Punctaj total0

Ceva nu functioneaza?