Pagini recente » Borderou de evaluare (job #2850824) | Borderou de evaluare (job #2991093) | Borderou de evaluare (job #915435) | Borderou de evaluare (job #1326395) | Borderou de evaluare (job #2305069)
Borderou de evaluare (job #2305069)
Raport evaluator
Compilare:
main.cpp: In function 'int Hash(int)':
main.cpp:13:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0; j<h[poz].size(); j++)
~^~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:56:49: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if(a[j]%a[i]==0 || a[i]%a[j]==0 && i!=j)
~~~~~~~~~~~~~^~~~~~~
main.cpp:28:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("autobuze.in", "r", stdin);
^
main.cpp:29:41: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("autobuze.out", "w", stdout);
^
main.cpp:30:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
main.cpp:33:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 5ms | 1703kb | OK | 10 |
2 | 5ms | 1703kb | OK | 10 |
3 | 23ms | 1703kb | OK | 10 |
4 | 14ms | 1835kb | OK | 10 |
5 | 17ms | 1966kb | OK | 10 |
6 | 176ms | 2490kb | OK | 10 |
7 | 160ms | 2883kb | OK | 10 |
8 | 186ms | 3276kb | OK | 10 |
9 | 718ms | 3276kb | OK | 10 |
10 | 777ms | 3276kb | OK | 10 |
Punctaj total | 100 |