Pagini recente » Borderou de evaluare (job #3250905) | Borderou de evaluare (job #308426) | Borderou de evaluare (job #1333849) | Borderou de evaluare (job #2439545) | Borderou de evaluare (job #1539518)
Borderou de evaluare (job #1539518)
Raport evaluator
Compilare:
user.cpp: In function ‘big operator-(big, big)’:
user.cpp:42:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
a.d[i] -= t + (i < b.d.size()?b.d[i]:0);
^
user.cpp: In function ‘bool operator<(big, big)’:
user.cpp:22:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘big read()’:
user.cpp:56:19: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(buffer+1);
^
user.cpp: In function ‘int main()’:
user.cpp:84:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dragonball.in","r",stdin);
^
user.cpp:85:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dragonball.out","w",stdout);
^
user.cpp:86:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&t);
^
/tmp/ccTQzOCb.o: In function `read()':
user.cpp:(.text+0x210): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 496kb | OK | 10 |
2 | 4ms | 532kb | Incorect | 0 |
3 | 4ms | 504kb | Incorect | 0 |
4 | 8ms | 632kb | Incorect | 0 |
5 | 0ms | 512kb | Incorect | 0 |
6 | 200ms | 13188kb | Incorect | 0 |
7 | 120ms | 1800kb | Incorect | 0 |
8 | 192ms | 6956kb | Incorect | 0 |
9 | 264ms | 13416kb | Incorect | 0 |
10 | 264ms | 13408kb | Incorect | 0 |
Punctaj total | 10 |