Pagini recente » Borderou de evaluare (job #1945) | Borderou de evaluare (job #625429) | Borderou de evaluare (job #899840) | Borderou de evaluare (job #528301) | Borderou de evaluare (job #1481975)
Borderou de evaluare (job #1481975)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:45:79: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
for (i=2;i<=n;i++) last=last+lcp(v[i],v[i-1]),printf("%d\n",1LL*i*(i+1)/2-last);
^
user.cpp:24:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("prefix2.in","r",stdin);
^
user.cpp:25:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("prefix2.out","w",stdout);
^
user.cpp:26:10: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s+1);
^
/tmp/ccTlNo0o.o: In function `main':
user.cpp:(.text.startup+0x56): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 272kb | Incorect | 0 |
2 | 0ms | 336kb | Incorect | 0 |
3 | 40ms | 1040kb | Incorect | 0 |
4 | 40ms | 1040kb | Incorect | 0 |
5 | 40ms | 1040kb | Incorect | 0 |
6 | 148ms | 2676kb | Incorect | 0 |
7 | 276ms | 4468kb | Incorect | 0 |
8 | Depăşit | 6560kb | Time limit exceeded. | 0 |
9 | Depăşit | 6552kb | Time limit exceeded. | 0 |
10 | Depăşit | 6556kb | Time limit exceeded. | 0 |
Punctaj total | 0 |