Pagini recente » Borderou de evaluare (job #2258138) | Borderou de evaluare (job #2219223) | Borderou de evaluare (job #2671143) | Borderou de evaluare (job #941866) | Borderou de evaluare (job #1195825)
Borderou de evaluare (job #1195825)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:46:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < Sol.size(); ++i){
^
user.cpp:55:60: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(Sol[i] == Sol[i + 1] - m && i + 1 < Sol.size()){
^
user.cpp:28:9: warning: unused variable ‘nr2’ [-Wunused-variable]
int nr2 = 0;
^
user.cpp:37:9: warning: unused variable ‘ok’ [-Wunused-variable]
int ok = 0;
^
user.cpp:29:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("potriveala.in", "r", stdin);
^
user.cpp:30:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("potriveala.out", "w", stdout);
^
user.cpp:31:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(b + 1);
^
user.cpp:32:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(a + 1);
^
/tmp/ccnna3Yo.o: In function `main':
user.cpp:(.text.startup+0x5f): warning: the `gets' function is dangerous and should not be used.
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
✓ | 1 | 0ms | 244kb | OK | 10 | 10 |
✗ | 2 | 0ms | 248kb | OK | 10 | 10 |
✗ | 3 | 0ms | 244kb | OK | 10 | 10 |
✗ | 4 | 0ms | 248kb | OK | 10 | 10 |
✓ | 5 | 0ms | 284kb | OK | 10 | 10 |
✗ | 6 | 0ms | 296kb | OK | 10 | 10 |
✗ | 7 | 0ms | 396kb | OK | 10 | 10 |
✗ | 8 | 0ms | 448kb | OK | 10 | 30 |
✗ | 9 | 0ms | 540kb | OK | 10 |
✗ | 10 | 4ms | 732kb | OK | 10 |
Punctaj total | 100 |