Pagini recente » Borderou de evaluare (job #1114497) | Borderou de evaluare (job #1502276)
Borderou de evaluare (job #1502276)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:16:12: warning: unused variable ‘j’ [-Wunused-variable]
int i, j, k, t, lg, frum, sol;
^
user.cpp:13:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("frumusete.in", "r", stdin);
^
user.cpp:14:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("frumusete.out", "w", stdout);
^
user.cpp:29:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(scanf("%d", &t); t; --t)
^
user.cpp:31:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &k);
^
user.cpp:32:10: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(n);
^
/tmp/ccquqQKi.o: In function `main':
user.cpp:(.text.startup+0x8c): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 560ms | 284kb | Incorect | 0 |
Punctaj total | 0 |