Pagini recente » Borderou de evaluare (job #2169106) | Borderou de evaluare (job #3164324) | Borderou de evaluare (job #1513193) | Cod sursa (job #1845895) | Borderou de evaluare (job #1795039)
Borderou de evaluare (job #1795039)
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/cc7EPnHe.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 | 0 |
| 2 | 12ms | 8052kb | OK | 10 |
| 3 | 12ms | 8076kb | OK | 10 |
| 4 | 12ms | 8160kb | OK | 10 |
| 5 | 28ms | 8480kb | OK | 10 |
| 6 | 84ms | 9488kb | OK | 10 |
| 7 | 16ms | 9096kb | Killed by signal 6(SIGABRT). | 0 |
| 8 | 16ms | 9096kb | Killed by signal 6(SIGABRT). | 0 |
| 9 | 16ms | 9104kb | Killed by signal 6(SIGABRT). | 0 |
| 10 | 16ms | 9104kb | Killed by signal 6(SIGABRT). | 0 |
| Punctaj total | 0 |