Pagini recente » Borderou de evaluare (job #1170875) | Borderou de evaluare (job #2097693) | Borderou de evaluare (job #1161817) | Borderou de evaluare (job #2783956) | Borderou de evaluare (job #2172736)
Borderou de evaluare (job #2172736)
Raport evaluator
Compilare:
user.cpp: In function ‘int power(int, int)’:
user.cpp:40:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:110:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("trapeze.in", "r", stdin);
^
user.cpp:111:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("trapeze.out", "w", stdout);
^
user.cpp:115:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:119:17: warning: iteration 24u invokes undefined behavior [-Waggressive-loop-optimizations]
nr.power(prim[i], fact[i]);
^
user.cpp:117:22: note: containing loop
for(int i = 0; i < 25; i++)
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1284kb | OK | 10 |
2 | 0ms | 1240kb | OK | 10 |
3 | 0ms | 1356kb | Incorect | 0 |
4 | 0ms | 1360kb | OK | 10 |
5 | 0ms | 1336kb | Incorect | 0 |
6 | 0ms | 1256kb | Incorect | 0 |
7 | 0ms | 1364kb | Incorect | 0 |
8 | 0ms | 1252kb | Incorect | 0 |
9 | 0ms | 1248kb | OK | 10 |
10 | 0ms | 1240kb | Incorect | 0 |
Punctaj total | 40 |