Pagini recente » Borderou de evaluare (job #2616099) | Borderou de evaluare (job #1081217) | Borderou de evaluare (job #2247518) | Borderou de evaluare (job #1921451) | Borderou de evaluare (job #1795040)
Borderou de evaluare (job #1795040)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:38:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<length_of_word; i++) x+=power[i]*(word[i]-'a');
^
user.cpp:42:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<length_of_word; i++) x+=power[i]*(text[i]-'a');
^
user.cpp:45:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=length_of_word; i<length_of_text; i++)
^
user.cpp:23:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("abc2.in", "r", stdin);
^
user.cpp:24:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("abc2.out", "w", stdout);
^
user.cpp:26:15: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(text);
^
user.cpp:45:15: warning: ‘length_of_word’ may be used uninitialized in this function [-Wmaybe-uninitialized]
for(int i=length_of_word; i<length_of_text; i++)
^
/tmp/cckNNsKz.o: In function `main':
user.cpp:(.text.startup+0x56): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 12ms | 8052kb | OK | 10 | 100 |
| 2 | 12ms | 8056kb | OK | 10 |
| 3 | 12ms | 8080kb | OK | 10 |
| 4 | 12ms | 8156kb | OK | 10 |
| 5 | 28ms | 8480kb | OK | 10 |
| 6 | 84ms | 9488kb | OK | 10 |
| 7 | 332ms | 13684kb | OK | 10 |
| 8 | 712ms | 18568kb | OK | 10 |
| 9 | 828ms | 18568kb | OK | 10 |
| 10 | 596ms | 18568kb | OK | 10 |
| Punctaj total | 100 |