Pagini recente » Borderou de evaluare (job #1558664) | Rating David Dragos Nicolae (DragosDavid) | Borderou de evaluare (job #946217) | Cod sursa (job #968461) | Borderou de evaluare (job #1866220)
Borderou de evaluare (job #1866220)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:41:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=1;i<=n;i++) factorial[i]=(factorial[i-1]*i)%mod;
^
user.cpp:42:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=2;i<=n+1;i++) lg[i]=lg[i/2]+1;
^
user.cpp:43:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=1;i<=n;i++)
^
user.cpp:32:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("permheap.in","r",stdin);
^
user.cpp:33:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("permheap.out","w",stdout);
^
user.cpp:34:19: 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 | 0ms | 268kb | OK | 4 |
| 2 | 0ms | 260kb | OK | 4 |
| 3 | 0ms | 264kb | Incorect | 0 |
| 4 | 0ms | 268kb | Incorect | 0 |
| 5 | 0ms | 264kb | Incorect | 0 |
| 6 | 0ms | 264kb | Incorect | 0 |
| 7 | 0ms | 268kb | Incorect | 0 |
| 8 | 0ms | 268kb | Incorect | 0 |
| 9 | 0ms | 272kb | Incorect | 0 |
| 10 | 0ms | 268kb | Incorect | 0 |
| 11 | 0ms | 268kb | Incorect | 0 |
| 12 | 0ms | 276kb | Incorect | 0 |
| 13 | 4ms | 276kb | Incorect | 0 |
| 14 | 4ms | 268kb | Incorect | 0 |
| 15 | 4ms | 272kb | Incorect | 0 |
| 16 | 4ms | 272kb | Incorect | 0 |
| 17 | 4ms | 272kb | Incorect | 0 |
| 18 | 48ms | 380kb | Incorect | 0 |
| 19 | 240ms | 852kb | Incorect | 0 |
| 20 | 296ms | 976kb | Incorect | 0 |
| 21 | 296ms | 980kb | Incorect | 0 |
| 22 | Depăşit | 1380kb | Time limit exceeded. | 0 |
| 23 | Depăşit | 1372kb | Time limit exceeded. | 0 |
| 24 | Depăşit | 2152kb | Time limit exceeded. | 0 |
| 25 | Depăşit | 2152kb | Time limit exceeded. | 0 |
| Punctaj total | 8 |