Pagini recente » Borderou de evaluare (job #1249800) | Borderou de evaluare (job #2574801) | Borderou de evaluare (job #849747) | Borderou de evaluare (job #1538016) | Borderou de evaluare (job #1366662)
Borderou de evaluare (job #1366662)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:33:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("carte.in","r",stdin);
^
user.cpp:34:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("carte.out","w",stdout);
^
user.cpp:35:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&T);
^
user.cpp:41:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(sir+1);
^
user.cpp:43:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&n);
^
user.cpp:48:24: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(cuv+1);
^
/tmp/ccguXgme.o: In function `main':
user.cpp:(.text.startup+0x7f): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 216ms | 3228kb | Incorect | 0 |
Punctaj total | 0 |