Pagini recente » Borderou de evaluare (job #1911148) | Borderou de evaluare (job #3030382) | Borderou de evaluare (job #1250961) | Borderou de evaluare (job #1069687) | Borderou de evaluare (job #1443139)
Borderou de evaluare (job #1443139)
Raport evaluator
Compilare:
user.cpp: In function ‘void Solve()’:
user.cpp:36:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets( S + 1 ); len = strlen(S + 1);
^
user.cpp:37:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &n);
^
user.cpp:40:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(B + 1); lg = strlen(B + 1);
^
user.cpp: In function ‘int main()’:
user.cpp:66:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(scanf("%d ", &teste); teste; --teste)
^
/tmp/ccX3nONa.o: In function `Solve()':
user.cpp:(.text+0xa7): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 152ms | 1408kb | Incorect | 0 |
Punctaj total | 0 |