Pagini recente » Borderou de evaluare (job #1268912) | Borderou de evaluare (job #2421365) | Borderou de evaluare (job #2928751) | Borderou de evaluare (job #2215867) | Borderou de evaluare (job #2176163)
Borderou de evaluare (job #2176163)
Raport evaluator
Compilare:
user.cpp: In function ‘void rez()’:
user.cpp:45:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d %d", &a, &b);
^
user.cpp:45:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:65:26: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n", a-suma);
^
user.cpp: In function ‘int main()’:
user.cpp:72:19: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d", &n);
^
user.cpp: In function ‘void rez()’:
user.cpp:45:27: 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 ‘int main()’:
user.cpp:70:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pinex.in", "r", stdin);
^
user.cpp:71:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pinex.out", "w", stdout);
^
user.cpp:72:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp: In function ‘void ciur()’:
user.cpp:16:17: warning: iteration 500001u invokes undefined behavior [-Waggressive-loop-optimizations]
if(sir[i] == 0)
^
user.cpp:14:21: note: containing loop
for(int i = 3; i<=1000005; i+=2)
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 28ms | 14276kb | OK | 10 | 10 |
2 | 188ms | 14280kb | OK | 10 | 10 |
3 | 180ms | 14288kb | OK | 10 | 10 |
4 | 504ms | 14280kb | OK | 10 | 10 |
5 | 524ms | 14288kb | OK | 10 | 10 |
6 | 824ms | 14288kb | OK | 10 | 10 |
7 | 600ms | 14288kb | OK | 10 | 10 |
8 | 1028ms | 14276kb | Incorect | 0 | 0 |
9 | 1012ms | 14284kb | Incorect | 0 |
10 | 1008ms | 14268kb | Incorect | 0 |
Punctaj total | 70 |