Pagini recente » Borderou de evaluare (job #2005797) | Borderou de evaluare (job #3241847) | Borderou de evaluare (job #2999651) | Borderou de evaluare (job #962981) | Borderou de evaluare (job #2592436)
Borderou de evaluare (job #2592436)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:9:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("sum.in", "rt", stdin);
^
main.cpp:11:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("sum.out", "wt", stdout);
^
main.cpp:13:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
main.cpp:22:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
main.cpp:18:13: warning: iteration 100003 invokes undefined behavior [-Waggressive-loop-optimizations]
if (phi[i]==i)
~~~~~^
main.cpp:17:12: note: within this loop
for ( i=2;i<=nmax;i++)
^
main.cpp:15:35: warning: iteration 100004 invokes undefined behavior [-Waggressive-loop-optimizations]
for ( i=1;i<=nmax;i++) phi[i]=i;
~~~~~~^~
main.cpp:15:17: note: within this loop
for ( i=1;i<=nmax;i++) phi[i]=i;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 104ms | 589kb | Time limit exceeded | 0 |
| 2 | 103ms | 589kb | Time limit exceeded | 0 |
| 3 | 102ms | 585kb | Time limit exceeded | 0 |
| 4 | 103ms | 655kb | Time limit exceeded | 0 |
| 5 | 100ms | 720kb | Time limit exceeded | 0 |
| 6 | 105ms | 589kb | Time limit exceeded | 0 |
| 7 | 104ms | 716kb | Time limit exceeded | 0 |
| 8 | 100ms | 589kb | Time limit exceeded | 0 |
| 9 | 103ms | 720kb | Time limit exceeded | 0 |
| 10 | 54ms | 716kb | Incorect | 0 |
| 11 | 104ms | 716kb | Time limit exceeded | 0 |
| 12 | 100ms | 724kb | Time limit exceeded | 0 |
| 13 | 101ms | 716kb | Time limit exceeded | 0 |
| 14 | 100ms | 856kb | Time limit exceeded | 0 |
| 15 | 79ms | 1114kb | Incorect | 0 |
| 16 | 52ms | 794kb | Incorect | 0 |
| 17 | 100ms | 724kb | Time limit exceeded | 0 |
| 18 | 77ms | 1110kb | Incorect | 0 |
| 19 | 63ms | 1110kb | Incorect | 0 |
| 20 | 63ms | 1114kb | Incorect | 0 |
| Punctaj total | 0 |