Pagini recente » Borderou de evaluare (job #393186) | Borderou de evaluare (job #1645386) | Borderou de evaluare (job #2158975) | Borderou de evaluare (job #1506253) | Borderou de evaluare (job #1295336)
Borderou de evaluare (job #1295336)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:96:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(i < strlen(S)){
^
user.cpp:128:32: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘std::vector<long int>::size_type {aka unsigned int}’ [-Wformat=]
*/ printf("%ld\n",Ans.size());
^
user.cpp:129:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<Ans.size();i++) W[Ans[i]].write();
^
user.cpp: In function ‘void readS()’:
user.cpp:30:39: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(Buff,1,maxBuf,stdin);
^
user.cpp:41:39: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(Buff,1,maxBuf,stdin);
^
user.cpp: In function ‘int main()’:
user.cpp:91:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("mesaje.in","r",stdin);
^
user.cpp:92:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("mesaje.out","w",stdout);
^
user.cpp:94:19: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
n = 0; gets(S);
^
user.cpp:108:31: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(Buff,1,maxBuf,stdin);
^
/tmp/ccpQLlcV.o: In function `main':
user.cpp:(.text.startup+0x60): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | Depăşit | 1100kb | Time limit exceeded. | 0 |
| 2 | 0ms | 440kb | Incorect | 0 |
| 3 | 0ms | 440kb | Incorect | 0 |
| 4 | 0ms | 480kb | Incorect | 0 |
| 5 | 0ms | 452kb | Incorect | 0 |
| 6 | 0ms | 452kb | Incorect | 0 |
| 7 | 0ms | 784kb | Incorect | 0 |
| 8 | Depăşit | 1784kb | Time limit exceeded. | 0 |
| 9 | 12ms | 1152kb | Incorect | 0 |
| 10 | 12ms | 1472kb | Incorect | 0 |
| Punctaj total | 0 |