Pagini recente » Borderou de evaluare (job #1459348) | Borderou de evaluare (job #430512) | Borderou de evaluare (job #113852) | Borderou de evaluare (job #2237638) | Borderou de evaluare (job #2272274)
Borderou de evaluare (job #2272274)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:8:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("divprim.in","r",stdin);
^
main.cpp:9:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("divprim.out","w",stdout);
^
main.cpp:16:17: warning: iteration 1000999 invokes undefined behavior [-Waggressive-loop-optimizations]
a[ciur[i]][++l[ciur[i]]]=i;
~~~~~~^
main.cpp:15:18: note: within this loop
for(int i=1;i<=1001000;i++)
~^~~~~~~~~
main.cpp:12:18: warning: iteration 1000998 invokes undefined behavior [-Waggressive-loop-optimizations]
if(ciur[i]==0)
~~~~~~^
main.cpp:11:18: note: within this loop
for(int i=2;i<=1001000;i++)
~^~~~~~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 86ms | 8126kb | OK | 5 |
| 2 | 89ms | 8126kb | OK | 5 |
| 3 | 98ms | 8257kb | OK | 5 |
| 4 | 88ms | 8257kb | OK | 5 |
| 5 | 90ms | 8257kb | OK | 5 |
| 6 | 90ms | 8257kb | OK | 5 |
| 7 | 96ms | 8257kb | OK | 5 |
| 8 | 89ms | 8257kb | OK | 5 |
| 9 | 103ms | 8257kb | OK | 5 |
| 10 | 96ms | 8388kb | OK | 5 |
| 11 | 112ms | 8519kb | OK | 5 |
| 12 | 92ms | 8257kb | OK | 5 |
| 13 | 122ms | 8388kb | OK | 5 |
| 14 | 122ms | 8388kb | OK | 5 |
| 15 | 115ms | 8388kb | OK | 5 |
| 16 | 138ms | 8519kb | OK | 5 |
| 17 | 143ms | 8650kb | OK | 5 |
| 18 | 148ms | 8650kb | OK | 5 |
| 19 | 163ms | 8519kb | OK | 5 |
| 20 | 154ms | 8650kb | OK | 5 |
| Punctaj total | 100 |