Pagini recente » Borderou de evaluare (job #1256880) | Cod sursa (job #2347212) | Borderou de evaluare (job #2147310) | Borderou de evaluare (job #1954522) | Borderou de evaluare (job #1443142)
Borderou de evaluare (job #1443142)
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:70: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/ccDSUy5t.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 | 260ms | 1408kb | OK | 100 |
Punctaj total | 100 |