Pagini recente » Borderou de evaluare (job #1529363) | Borderou de evaluare (job #1792032) | Borderou de evaluare (job #734458) | Borderou de evaluare (job #1471471) | Borderou de evaluare (job #2176178)
Borderou de evaluare (job #2176178)
Raport evaluator
Compilare:
user.cpp: In function ‘void rez()’:
user.cpp:54: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:54:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:74: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:81: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:54: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:79: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:80: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:81: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:27:17: warning: iteration 1000003u invokes undefined behavior [-Waggressive-loop-optimizations]
if(sir[i] == 0)
^
user.cpp:25:21: note: containing loop
for(int i = 2; i<=1000005; i++)
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 28ms | 14248kb | OK | 10 | 10 |
2 | 184ms | 14288kb | OK | 10 | 10 |
3 | 180ms | 14208kb | OK | 10 | 10 |
4 | 496ms | 14280kb | OK | 10 | 10 |
5 | 548ms | 14280kb | OK | 10 | 10 |
6 | 856ms | 14264kb | OK | 10 | 10 |
7 | 600ms | 14172kb | OK | 10 | 10 |
8 | 1020ms | 14292kb | Incorect | 0 | 0 |
9 | 1004ms | 14208kb | Incorect | 0 |
10 | 1016ms | 14292kb | Incorect | 0 |
Punctaj total | 70 |