Pagini recente » Borderou de evaluare (job #225483) | Borderou de evaluare (job #335049) | Borderou de evaluare (job #850117) | Borderou de evaluare (job #2954089) | Borderou de evaluare (job #1525993)
Borderou de evaluare (job #1525993)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:22:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for( i = 0; i < strlen(q); ++i ) v[q[i]-'a']++;
^
user.cpp:25:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for( i = 0; i < strlen(q); ++i ) r[q[i]-'a']++;
^
user.cpp:17:18: warning: unused variable ‘s’ [-Wunused-variable]
int n, i, j, s, t, d, k, ma, ok;
^
user.cpp:17:21: warning: unused variable ‘t’ [-Wunused-variable]
int n, i, j, s, t, d, k, ma, ok;
^
user.cpp:17:24: warning: unused variable ‘d’ [-Wunused-variable]
int n, i, j, s, t, d, k, ma, ok;
^
user.cpp:17:27: warning: unused variable ‘k’ [-Wunused-variable]
int n, i, j, s, t, d, k, ma, ok;
^
user.cpp:17:30: warning: unused variable ‘ma’ [-Wunused-variable]
int n, i, j, s, t, d, k, ma, ok;
^
user.cpp:14:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("joben.in","r",stdin);
^
user.cpp:15:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("joben.out","w",stdout);
^
user.cpp:19:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%*c",&n);
^
user.cpp:21:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",q);
^
user.cpp:24:22: 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 |
1 | 0ms | 256kb | Incorect | 0 |
2 | 0ms | 256kb | Incorect | 0 |
3 | 24ms | 260kb | Incorect | 0 |
4 | Depăşit | 264kb | Time limit exceeded. | 0 |
5 | Depăşit | 268kb | Time limit exceeded. | 0 |
6 | Depăşit | 308kb | Time limit exceeded. | 0 |
7 | Depăşit | 276kb | Time limit exceeded. | 0 |
8 | Depăşit | 292kb | Time limit exceeded. | 0 |
9 | Depăşit | 308kb | Time limit exceeded. | 0 |
10 | Depăşit | 284kb | Time limit exceeded. | 0 |
Punctaj total | 0 |