Pagini recente » Borderou de evaluare (job #126427) | Borderou de evaluare (job #3272789) | Borderou de evaluare (job #2552068) | Borderou de evaluare (job #2161671) | Borderou de evaluare (job #1722844)
Borderou de evaluare (job #1722844)
Raport evaluator
Compilare:
user.cpp: In function ‘void Initialize(int*, int)’:
user.cpp:86:22: warning: argument to ‘sizeof’ in ‘void* memset(void*, int, size_t)’ call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess]
memset(v,0,sizeof(v));
^
user.cpp: In function ‘int main()’:
user.cpp:154:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("eval.in","r",stdin);
^
user.cpp:155:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("eval.out","w",stdout);
^
user.cpp:157:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&n);
^
user.cpp:159:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",variable[i]);
^
user.cpp:160:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",expression);
^
user.cpp: In function ‘int Factor()’:
user.cpp:83:12: warning: ‘answer’ may be used uninitialized in this function [-Wmaybe-uninitialized]
return answer;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 40ms | 316kb | OK | 10 |
| 2 | 40ms | 316kb | OK | 10 |
| 3 | 40ms | 320kb | OK | 10 |
| 4 | 300ms | 1920kb | OK | 10 |
| 5 | 192ms | 380kb | OK | 10 |
| 6 | 148ms | 336kb | OK | 10 |
| 7 | 180ms | 344kb | OK | 10 |
| 8 | 344ms | 424kb | OK | 10 |
| 9 | 352ms | 424kb | OK | 10 |
| 10 | 348ms | 424kb | OK | 10 |
| Punctaj total | 100 |