Pagini recente » Borderou de evaluare (job #856364) | Borderou de evaluare (job #3194850) | Borderou de evaluare (job #1375219) | Borderou de evaluare (job #3262522) | Borderou de evaluare (job #1406205)
Borderou de evaluare (job #1406205)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:77:13: warning: unused variable ‘Ans’ [-Wunused-variable]
int Ans = 0;
^
user.cpp:73:37: 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:74:39: 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:75:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &T);
^
user.cpp:79:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(b + 1);
^
user.cpp:80:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(a + 1);
^
user.cpp:81:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(c + 1);
^
/tmp/ccP9u1HP.o: In function `main':
user.cpp:(.text.startup+0x77): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 28ms | 1276kb | Incorect | 0 |
Punctaj total | 0 |