Pagini recente » Cod sursa (job #743546) | Diferente pentru pd intre reviziile 72 si 71 | Cod sursa (job #358487) | Cod sursa (job #533335) | Borderou de evaluare (job #1517938)
Borderou de evaluare (job #1517938)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:20:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for( i = 0; i < strlen(q); ++i ){
^
user.cpp:23:15: warning: array subscript has type ‘char’ [-Wchar-subscripts]
v[q[i]]++;
^
user.cpp:14:21: warning: unused variable ‘t’ [-Wunused-variable]
int n, i, j, s, t, d;
^
user.cpp:14:24: warning: unused variable ‘d’ [-Wunused-variable]
int n, i, j, s, t, d;
^
user.cpp:11:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("litere.in","r",stdin);
^
user.cpp:12:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("litere.out","w",stdout);
^
user.cpp:17:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%*c",&n);
^
user.cpp:18:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",q);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 264kb | OK | 10 | 10 |
| 2 | 0ms | 268kb | OK | 10 | 10 |
| 3 | 0ms | 272kb | OK | 10 | 10 |
| 4 | 0ms | 264kb | OK | 10 | 10 |
| 5 | 28ms | 276kb | OK | 10 | 60 |
| 6 | 28ms | 276kb | OK | 10 |
| 7 | 28ms | 280kb | OK | 10 |
| 8 | 28ms | 276kb | OK | 10 |
| 9 | 28ms | 280kb | OK | 10 |
| 10 | 28ms | 276kb | OK | 10 |
| Punctaj total | 100 |