Pagini recente » Borderou de evaluare (job #2869951) | Borderou de evaluare (job #655847) | Borderou de evaluare (job #2538552) | Borderou de evaluare (job #2178852) | Borderou de evaluare (job #1410496)
Borderou de evaluare (job #1410496)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:67: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:68: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:70:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld\n",&t);
^
user.cpp:74:22: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(*(&a)+1);
^
user.cpp:75:22: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(*(&b)+1);
^
user.cpp:84:22: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(*(&b)+1);
^
/tmp/ccnJt0ve.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 | OK | 100 |
Punctaj total | 100 |