Pagini recente » Borderou de evaluare (job #412340) | Borderou de evaluare (job #222497) | Borderou de evaluare (job #2561408) | Borderou de evaluare (job #2444588) | Borderou de evaluare (job #1260562)
Borderou de evaluare (job #1260562)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:28:35: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while (nr>=0 && s[i]>st[nr] && k>0) {nr--; k--;}
^
user.cpp:29:16: warning: array subscript has type ‘char’ [-Wchar-subscripts]
st[++nr] = (char) s[i];
^
user.cpp:14: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:2:49: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
#define cit(c) while (c!='\n') fscanf(f,"%c",&c);
^
user.cpp:15:5: note: in expansion of macro ‘cit’
cit(c);
^
user.cpp:16: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 | 248kb | OK | 10 |
2 | 0ms | 252kb | OK | 10 |
3 | 0ms | 252kb | Incorect | 0 |
4 | 0ms | 256kb | Incorect | 0 |
5 | 0ms | 256kb | Incorect | 0 |
6 | 0ms | 348kb | Incorect | 0 |
7 | 0ms | 348kb | Incorect | 0 |
8 | 16ms | 1220kb | Incorect | 0 |
9 | 12ms | 1228kb | Incorect | 0 |
10 | 16ms | 1224kb | Incorect | 0 |
Punctaj total | 20 |