Pagini recente » Borderou de evaluare (job #1240976) | Borderou de evaluare (job #960465) | Borderou de evaluare (job #75522) | Borderou de evaluare (job #74778) | Borderou de evaluare (job #1295072)
Borderou de evaluare (job #1295072)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:65:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(i < strlen(S)){
^
user.cpp:95:30: 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:96:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<Ans.size();i++) W[Ans[i]].write();
^
user.cpp:60: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:61: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:63:19: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
n = 0; gets(S);
^
user.cpp:80:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",S);
^
/tmp/ccOoMCQ2.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 | 1128kb | Time limit exceeded. | 0 |
| 2 | 0ms | 452kb | Corect | 10 |
| 3 | 0ms | 456kb | Corect | 10 |
| 4 | 0ms | 460kb | Corect | 10 |
| 5 | 0ms | 452kb | Corect | 10 |
| 6 | 0ms | 460kb | Corect | 10 |
| 7 | 8ms | 480kb | Corect | 10 |
| 8 | Depăşit | 844kb | Time limit exceeded. | 0 |
| 9 | 28ms | 528kb | Corect | 10 |
| 10 | 36ms | 524kb | Corect | 10 |
| Punctaj total | 80 |