Pagini recente » Borderou de evaluare (job #1911797) | Borderou de evaluare (job #1363348) | Borderou de evaluare (job #648119) | Borderou de evaluare (job #1851442) | Borderou de evaluare (job #1410481)
Borderou de evaluare (job #1410481)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:62:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secv10.in","r",stdin);
^
user.cpp:63:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secv10.out","w",stdout);
^
user.cpp:65:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld\n",&t);
^
user.cpp:69:22: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(*(&a)+1);
^
user.cpp:70:22: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(*(&b)+1);
^
user.cpp:79:22: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(*(&b)+1);
^
/tmp/ccLTwb9H.o: In function `main':
user.cpp:(.text.startup+0x80): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 24ms | 1000kb | Incorect | 0 |
Punctaj total | 0 |