Pagini recente » Borderou de evaluare (job #1586777) | Borderou de evaluare (job #630404) | Borderou de evaluare (job #228937) | Borderou de evaluare (job #1650734) | Borderou de evaluare (job #1742291)
Borderou de evaluare (job #1742291)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:31:47: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘int’ [-Wformat=]
printf("%lld", prime[n + 1] * prime[n + 1]);
^
user.cpp:26:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("prim.in", "r", stdin);
^
user.cpp:27:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("prim.out", "w", stdout);
^
user.cpp:29:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 12ms | 2128kb | Incorect | 0 |
2 | 12ms | 2120kb | Incorect | 0 |
3 | 12ms | 2124kb | Incorect | 0 |
4 | 12ms | 2124kb | Incorect | 0 |
5 | 8ms | 2124kb | Incorect | 0 |
6 | 8ms | 2128kb | OK | 10 |
7 | 12ms | 2124kb | Incorect | 0 |
8 | 12ms | 2124kb | Incorect | 0 |
9 | 12ms | 2128kb | Incorect | 0 |
10 | 12ms | 2128kb | Incorect | 0 |
Punctaj total | 10 |