Pagini recente » Borderou de evaluare (job #3152077) | Cod sursa (job #449407) | Cod sursa (job #2620122) | Cod sursa (job #890802) | Borderou de evaluare (job #1260326)
Borderou de evaluare (job #1260326)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:21:35: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while (nr>=0 && s[i]>st[nr] && k>0) {nr--; k--;}
^
user.cpp:22:16: warning: array subscript has type ‘char’ [-Wchar-subscripts]
st[++nr] = (char) s[i];
^
user.cpp:12:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d%d",&n,&m);
^
user.cpp:13:21: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%s",s);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 256kb | OK | 10 |
| 2 | 0ms | 248kb | OK | 10 |
| 3 | 0ms | 252kb | Incorect | 0 |
| 4 | 0ms | 252kb | Incorect | 0 |
| 5 | 0ms | 256kb | Incorect | 0 |
| 6 | 0ms | 344kb | Incorect | 0 |
| 7 | 0ms | 352kb | Incorect | 0 |
| 8 | 16ms | 1220kb | Incorect | 0 |
| 9 | 12ms | 1224kb | Incorect | 0 |
| 10 | 16ms | 1220kb | Incorect | 0 |
| Punctaj total | 20 |