Pagini recente » Borderou de evaluare (job #1450984) | Borderou de evaluare (job #2511969) | Borderou de evaluare (job #2146333) | Borderou de evaluare (job #2779380) | Borderou de evaluare (job #1469091)
Borderou de evaluare (job #1469091)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:11:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("spatiu.in", "r", stdin);
^
user.cpp:12:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("spatiu.out", "w", stdout);
^
user.cpp:13:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
user.cpp:16:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &n);
^
user.cpp:17:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s + 1);
^
/tmp/ccjWD801.o: In function `read()':
user.cpp:(.text+0xc2): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 368kb | Incorect | 0 |
Punctaj total | 0 |