Pagini recente » Borderou de evaluare (job #3269327) | Borderou de evaluare (job #2619640) | Borderou de evaluare (job #2916437) | Borderou de evaluare (job #2841729) | Borderou de evaluare (job #1372190)
Borderou de evaluare (job #1372190)
Raport evaluator
Compilare:
user.cpp: In function ‘void Solve(int)’:
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:231:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(scanf("%d ", &n), nn = n; n > 0; --n)
^
/tmp/cc2az83x.o: In function `Solve(int)':
user.cpp:(.text+0x13a): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 4ms | 468kb | corect | 10 |
| 2 | 0ms | 452kb | corect | 10 |
| 3 | 8ms | 504kb | corect | 10 |
| 4 | 8ms | 492kb | corect | 10 |
| 5 | 0ms | 444kb | corect | 10 |
| 6 | 4ms | 460kb | corect | 10 |
| 7 | 8ms | 492kb | corect | 10 |
| 8 | 8ms | 500kb | corect | 10 |
| 9 | 4ms | 484kb | corect | 10 |
| 10 | 8ms | 520kb | corect | 10 |
| Punctaj total | 100 |