Pagini recente » Borderou de evaluare (job #1872319) | Borderou de evaluare (job #3258450) | Borderou de evaluare (job #1715833) | Borderou de evaluare (job #12540) | Borderou de evaluare (job #1440208)
Borderou de evaluare (job #1440208)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:138:40: warning: unused variable ‘multres’ [-Wunused-variable]
Huge plus_accum, negative_acum, aux, multres, power_accum;
^
user.cpp:108:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("largestroot.in", "r", stdin);
^
user.cpp:109:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("largestroot.out", "w", stdout);
^
user.cpp:111:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &T);
^
user.cpp:114:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:117:11: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
/tmp/cc1lCl3m.o: In function `main':
user.cpp:(.text.startup+0xc9): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 308kb | OK | 100 |
Punctaj total | 100 |