Pagini recente » Borderou de evaluare (job #2680275) | Borderou de evaluare (job #2735863) | Borderou de evaluare (job #322528) | Borderou de evaluare (job #639178) | Borderou de evaluare (job #1443141)
Borderou de evaluare (job #1443141)
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/ccYBKKeN.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 | 236ms | 1408kb | Incorect | 0 |
Punctaj total | 0 |