Pagini recente » Diferente pentru test intre reviziile 5 si 3 | Borderou de evaluare (job #1642414) | Monitorul de evaluare | Borderou de evaluare (job #2112345) | Borderou de evaluare (job #1432806)
Borderou de evaluare (job #1432806)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:58:35: warning: array subscript has type ‘char’ [-Wchar-subscripts]
nrAparitii[sir1[i]]++;
^
user.cpp:9:44: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("playwithstrings.in","r",stdin);
^
user.cpp:10:46: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("playwithstrings.out","w",stdout);
^
user.cpp:15:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:18:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%s", &task, sir1);
^
user.cpp:21:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", sir2);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 252kb | OK | 10 |
| 2 | 0ms | 252kb | OK | 10 |
| 3 | 0ms | 248kb | OK | 10 |
| 4 | 0ms | 248kb | OK | 10 |
| 5 | 0ms | 252kb | OK | 10 |
| 6 | 4ms | 252kb | OK | 10 |
| 7 | 0ms | 248kb | OK | 10 |
| 8 | 0ms | 252kb | Incorect | 0 |
| 9 | 0ms | 252kb | OK | 10 |
| 10 | 0ms | 252kb | OK | 10 |
| Punctaj total | 90 |