Pagini recente » Borderou de evaluare (job #840007) | Borderou de evaluare (job #2174773) | Borderou de evaluare (job #332597) | Borderou de evaluare (job #2043927) | Borderou de evaluare (job #1412844)
Borderou de evaluare (job #1412844)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:34: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:35: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:36:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&t);
^
user.cpp:43:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(S+1);
^
user.cpp:44:15: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(st+1);
^
user.cpp:45:15: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(dr+1);
^
/tmp/ccpc2kL2.o: In function `main':
user.cpp:(.text.startup+0x112): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 68ms | 3648kb | Incorect | 0 |
Punctaj total | 0 |