Pagini recente » Borderou de evaluare (job #1285562) | Borderou de evaluare (job #1033301) | Borderou de evaluare (job #1516201) | Borderou de evaluare (job #1092384) | Borderou de evaluare (job #1205746)
Borderou de evaluare (job #1205746)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&N);
^
user.cpp:14:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&X);
^
user.cpp:15:27: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d",2*phi[X]*X);
^
user.cpp:4:29: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sum.in","r",stdin);
^
user.cpp:5:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sum.out","w",stdout);
^
user.cpp:12:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&N);
^
user.cpp:14:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&X);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 16ms | 1032kb | OK | 5 |
| 2 | 16ms | 1024kb | OK | 5 |
| 3 | 20ms | 1024kb | OK | 5 |
| 4 | 20ms | 1028kb | OK | 5 |
| 5 | 20ms | 1032kb | OK | 5 |
| 6 | 20ms | 1028kb | OK | 5 |
| 7 | 20ms | 1024kb | OK | 5 |
| 8 | 20ms | 1028kb | OK | 5 |
| 9 | 20ms | 1032kb | Incorect | 0 |
| 10 | 48ms | 1028kb | OK | 5 |
| 11 | 20ms | 1028kb | OK | 5 |
| 12 | 20ms | 1028kb | OK | 5 |
| 13 | 24ms | 1028kb | OK | 5 |
| 14 | 24ms | 1028kb | OK | 5 |
| 15 | 48ms | 1028kb | Incorect | 0 |
| 16 | 52ms | 1024kb | OK | 5 |
| 17 | 16ms | 1024kb | Incorect | 0 |
| 18 | 72ms | 1024kb | Incorect | 0 |
| 19 | 80ms | 1028kb | Incorect | 0 |
| 20 | 84ms | 1032kb | Incorect | 0 |
| Punctaj total | 70 |