Pagini recente » Borderou de evaluare (job #681479) | Borderou de evaluare (job #1935933) | Borderou de evaluare (job #1918477) | Borderou de evaluare (job #874146) | Borderou de evaluare (job #1401702)
Borderou de evaluare (job #1401702)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:14:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d %d",&n,&prec);n--;
^
user.cpp:14:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:17:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&v[i]);
^
user.cpp:32:27: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n",n-phi[n]);
^
user.cpp:34:23: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n",v[i]);
^
user.cpp:12:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("reguli.in","r",stdin);
^
user.cpp:13:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("reguli.out","w",stdout);
^
user.cpp:14:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&prec);n--;
^
user.cpp:17:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 8ms | 720kb | OK | 10 |
| 2 | 44ms | 1820kb | Incorect | 0 |
| 3 | 124ms | 4664kb | Incorect | 0 |
| 4 | 276ms | 8060kb | Incorect | 0 |
| 5 | 40ms | 1516kb | Incorect | 0 |
| 6 | 24ms | 1044kb | Incorect | 0 |
| 7 | 28ms | 1664kb | OK | 10 |
| 8 | 0ms | 336kb | Incorect | 0 |
| 9 | 0ms | 320kb | OK | 10 |
| 10 | 0ms | 256kb | OK | 10 |
| Punctaj total | 40 |