Pagini recente » Borderou de evaluare (job #2046486) | Borderou de evaluare (job #1674944) | Borderou de evaluare (job #3118415) | Borderou de evaluare (job #1455566) | Borderou de evaluare (job #1560898)
Borderou de evaluare (job #1560898)
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/ccsL5DEa.o: In function `main':
user.cpp:(.text.startup+0x83): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 188ms | 3236kb | OK | 100 |
Punctaj total | 100 |