Pagini recente » Borderou de evaluare (job #1812367) | Borderou de evaluare (job #1011682) | Borderou de evaluare (job #651697) | Borderou de evaluare (job #1960144) | Borderou de evaluare (job #2176157)
Borderou de evaluare (job #2176157)
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 | 20ms | 5108kb | OK | 10 | 10 |
| 2 | 24ms | 5124kb | OK | 10 | 10 |
| 3 | 24ms | 5120kb | OK | 10 | 10 |
| 4 | 48ms | 5124kb | OK | 10 | 10 |
| 5 | 52ms | 5024kb | OK | 10 | 10 |
| 6 | 68ms | 5128kb | OK | 10 | 10 |
| 7 | 56ms | 5060kb | OK | 10 | 10 |
| 8 | 140ms | 5136kb | Incorect | 0 | 0 |
| 9 | 140ms | 5136kb | Incorect | 0 |
| 10 | 140ms | 5096kb | Incorect | 0 |
| Punctaj total | 70 |