Pagini recente » Cod sursa (job #59624) | Borderou de evaluare (job #1512399) | Cod sursa (job #2107963) | Cod sursa (job #1591763) | Borderou de evaluare (job #1669136)
Borderou de evaluare (job #1669136)
Raport evaluator
Compilare:
user.cpp: In function ‘int poloneza(char*)’:
user.cpp:63:35: warning: array subscript has type ‘char’ [-Wchar-subscripts]
polo[++tpolo]=val[s[i]];
^
user.cpp: In function ‘void back(int)’:
user.cpp:94:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(k==litere.size()) {
^
user.cpp:99:18: warning: array subscript has type ‘char’ [-Wchar-subscripts]
val[litere[k]]=0;
^
user.cpp: In function ‘int main()’:
user.cpp:104:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("logic.in","r",stdin);
^
user.cpp:105:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("logic.out","w",stdout);
^
user.cpp:107:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&T);
^
user.cpp:109:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(alpha);
^
user.cpp:110:19: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(beta);
^
/tmp/ccmLrAzR.o: In function `main':
user.cpp:(.text.startup+0x88): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 244kb | OK | 10 |
| 2 | 0ms | 248kb | Incorect | 0 |
| 3 | 0ms | 252kb | Incorect | 0 |
| 4 | 0ms | 248kb | Incorect | 0 |
| 5 | 20ms | 248kb | Incorect | 0 |
| 6 | 4ms | 248kb | Incorect | 0 |
| 7 | 0ms | 252kb | Incorect | 0 |
| 8 | 0ms | 248kb | Incorect | 0 |
| 9 | 0ms | 248kb | Incorect | 0 |
| 10 | 4ms | 252kb | Incorect | 0 |
| Punctaj total | 10 |