Pagini recente » Borderou de evaluare (job #935708) | Borderou de evaluare (job #194980) | Borderou de evaluare (job #1660189) | Borderou de evaluare (job #194839) | Borderou de evaluare (job #1726018)
Borderou de evaluare (job #1726018)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:7:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("prefixe.in", "r", stdin);
^
user.cpp:8:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("prefixe.out", "w", stdout);
^
user.cpp:9:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
user.cpp:10:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(b);
^
user.cpp:13:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(b+1);
^
/tmp/ccySmbfD.o: In function `main':
user.cpp:(.text.startup+0x68): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 1096ms | 936kb | OK | 100 |
Punctaj total | 100 |