Pagini recente » Borderou de evaluare (job #2825831) | Borderou de evaluare (job #1444866) | Borderou de evaluare (job #1068553) | Borderou de evaluare (job #3164567) | Borderou de evaluare (job #2129900)
Borderou de evaluare (job #2129900)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:71:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(FIN, "r", stdin);
^
user.cpp:72:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(FOUT, "w", stdout);
^
user.cpp:73:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &A, &B);
^
user.cpp: In function ‘void process()’:
user.cpp:26:48: warning: iteration 50003u invokes undefined behavior [-Waggressive-loop-optimizations]
for (int i=2; i<=MAX_PRIM; ++i) if (p[i]!=1) prim[++k]=i;
^
user.cpp:26:24: note: containing loop
for (int i=2; i<=MAX_PRIM; ++i) if (p[i]!=1) prim[++k]=i;
^
user.cpp: In function ‘void solve()’:
user.cpp:58:36: warning: ‘value’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if (vl[i]==max) ++value;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 16ms | 796kb | OK | 10 | 40 |
2 | 4ms | 936kb | OK | 10 |
3 | 0ms | 800kb | OK | 10 |
4 | 44ms | 816kb | OK | 10 |
5 | 4ms | 800kb | OK | 10 | 30 |
6 | 32ms | 804kb | OK | 10 |
7 | 4ms | 860kb | OK | 10 |
8 | 0ms | 868kb | OK | 10 | 30 |
9 | 0ms | 800kb | OK | 10 |
10 | 40ms | 800kb | OK | 10 |
Punctaj total | 100 |