Pagini recente » Borderou de evaluare (job #2462839) | Statistici Remus Rughinis (Remus.Rughinis) | Borderou de evaluare (job #2989681) | Borderou de evaluare (job #2727077) | Borderou de evaluare (job #2219374)
Borderou de evaluare (job #2219374)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:27:56: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘__gnu_cxx::__promote_2<int, int, double, double>::__type {aka double}’ [-Wformat=]
if (n <= counter - 1) printf("%d",pow(prime[n+1],2));
^
user.cpp:31:32: warning: left operand of comma operator has no effect [-Wunused-value]
for (int i = a + 1; i <= 1300000, counter < n + 1; i++)
~~^~~~~~~~~~
user.cpp:37:38: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘__gnu_cxx::__promote_2<int, int, double, double>::__type {aka double}’ [-Wformat=]
printf("%d",pow(prime[n+1],2));
^
user.cpp:16:38: 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);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 52ms | 6396kb | Incorect | 0 |
| 2 | 52ms | 6400kb | Incorect | 0 |
| 3 | 52ms | 6396kb | Incorect | 0 |
| 4 | 52ms | 6404kb | Incorect | 0 |
| 5 | 52ms | 6396kb | Incorect | 0 |
| 6 | 56ms | 6436kb | Incorect | 0 |
| 7 | 56ms | 6456kb | Incorect | 0 |
| 8 | 56ms | 6524kb | Incorect | 0 |
| 9 | 56ms | 6652kb | Incorect | 0 |
| 10 | 56ms | 6780kb | Incorect | 0 |
| Punctaj total | 0 |