Pagini recente » Borderou de evaluare (job #1212115) | Borderou de evaluare (job #1215115) | Borderou de evaluare (job #1215109) | Borderou de evaluare (job #1641635) | Borderou de evaluare (job #1945419)
Borderou de evaluare (job #1945419)
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 |
1 | 0ms | 440kb | OK | 100 |
Punctaj total | 100 |