Pagini recente » Borderou de evaluare (job #1449254) | Borderou de evaluare (job #2827038) | Borderou de evaluare (job #1099471) | Borderou de evaluare (job #1622766) | Borderou de evaluare (job #1913870)
Borderou de evaluare (job #1913870)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:73:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("numere6.in" , "r", stdin);
^
user.cpp:74:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("numere6.out" , "w", stdout);
^
user.cpp:76:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n", &a, &b);
^
user.cpp:101:29: warning: iteration 10u invokes undefined behavior [-Waggressive-loop-optimizations]
fact[i] = fact[i - 1] * i;
^
user.cpp:99:5: note: containing loop
for (int i = 2; i<=15; ++i)
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 428kb | OK | 10 |
| 2 | 0ms | 432kb | OK | 10 |
| 3 | 0ms | 432kb | OK | 10 |
| 4 | 0ms | 436kb | OK | 10 |
| 5 | 0ms | 436kb | OK | 10 |
| 6 | 0ms | 432kb | OK | 10 |
| 7 | 0ms | 432kb | OK | 10 |
| 8 | 0ms | 432kb | OK | 10 |
| 9 | 0ms | 436kb | OK | 10 |
| 10 | 0ms | 436kb | OK | 10 |
| Punctaj total | 100 |