Borderou de evaluare (job #1371743)

Utilizator andrei.arnautuAndi Arnautu andrei.arnautu Data 4 martie 2015 01:05:09
Problema Coduri Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 60

Raport evaluator

Compilare: user.cpp: In function ‘void Solve()’: user.cpp:42:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if( pos != sir.length() ) ^ user.cpp:52:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if( pos1 != sir.length() ) ^ user.cpp:30:20: warning: unused variable ‘pos2’ [-Wunused-variable] int pos, pos1, pos2; ^ user.cpp:31:24: warning: unused variable ‘nr2’ [-Wunused-variable] long long int nr1, nr2 = 1, nr3, nr4, c1, c2, val1, val2, numitor = 0; ^ user.cpp:31:51: warning: unused variable ‘val1’ [-Wunused-variable] long long int nr1, nr2 = 1, nr3, nr4, c1, c2, val1, val2, numitor = 0; ^ user.cpp:31:57: warning: unused variable ‘val2’ [-Wunused-variable] long long int nr1, nr2 = 1, nr3, nr4, c1, c2, val1, val2, numitor = 0; ^ user.cpp:32:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); ^ user.cpp: In function ‘int main()’: user.cpp:165:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(scanf("%d ", &n); n > 0; --n) ^ /tmp/ccBAwQ2F.o: In function `Solve()': user.cpp:(.text+0x137): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms336kbcorect10
20ms332kbcorect10
30ms328kbcorect10
40ms328kbcorect10
50ms328kbcorect10
60ms332kbcorect10
70ms332kbformat incorect al fisierului de iesire0
80ms332kbformat incorect al fisierului de iesire0
90ms332kbcodificare eronata0
100ms336kbcodificare eronata0
Punctaj total60

Ceva nu functioneaza?