Pagini recente » Borderou de evaluare (job #3182017) | Borderou de evaluare (job #2067776) | Borderou de evaluare (job #2044402) | Borderou de evaluare (job #1196793) | Borderou de evaluare (job #2176162)
Borderou de evaluare (job #2176162)
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 | 16ms | 5068kb | OK | 10 | 10 |
2 | 24ms | 5064kb | OK | 10 | 10 |
3 | 24ms | 5044kb | OK | 10 | 10 |
4 | 48ms | 5016kb | OK | 10 | 10 |
5 | 52ms | 5052kb | OK | 10 | 10 |
6 | 68ms | 5128kb | OK | 10 | 10 |
7 | 56ms | 5140kb | OK | 10 | 10 |
8 | 140ms | 5128kb | Incorect | 0 | 0 |
9 | 140ms | 5160kb | Incorect | 0 |
10 | 140ms | 5056kb | Incorect | 0 |
Punctaj total | 70 |