Pagini recente » Borderou de evaluare (job #1462291) | Borderou de evaluare (job #1204502) | Borderou de evaluare (job #1175830) | Borderou de evaluare (job #181043) | Borderou de evaluare (job #1408546)
Borderou de evaluare (job #1408546)
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:70:22: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(*(&a)+1);
^
user.cpp:71:22: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(*(&b)+1);
^
user.cpp:80:22: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(*(&b)+1);
^
/tmp/ccHEfPvD.o: In function `main':
user.cpp:(.text.startup+0x8e): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 24ms | 1004kb | Incorect | 0 |
Punctaj total | 0 |