Pagini recente » Cod sursa (job #2131987) | Borderou de evaluare (job #1569012) | Borderou de evaluare (job #2022922) | Borderou de evaluare (job #79718) | Borderou de evaluare (job #1791186)
Borderou de evaluare (job #1791186)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:14:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<=strlen(s)-2;i++){
^
user.cpp:46:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<strlen(s);i++) if(s[i]=='\n') s[i]=0;
^
user.cpp:10:19: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
{fscanf(f,"%d",&p);
^
user.cpp:12:18: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%c",&c);
^
user.cpp:13:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
if(p==1){fscanf(f,"%s",s);
^
user.cpp:33:41: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%c%c%c",&s[0],&s[1],&s[2]);
^
user.cpp:41:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%c",&s[++i+1]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 264kb | OK | 5 |
2 | 0ms | 272kb | OK | 5 |
3 | 4ms | 272kb | OK | 5 |
4 | Depăşit | 308kb | Time limit exceeded. | 0 |
5 | Depăşit | 336kb | Time limit exceeded. | 0 |
6 | 0ms | 268kb | OK | 5 |
7 | 0ms | 264kb | OK | 5 |
8 | 0ms | 268kb | OK | 5 |
9 | 8ms | 268kb | OK | 5 |
10 | 36ms | 272kb | OK | 5 |
11 | Depăşit | 284kb | Time limit exceeded. | 0 |
12 | 184ms | 292kb | OK | 5 |
13 | Depăşit | 276kb | Time limit exceeded. | 0 |
14 | Depăşit | 276kb | Time limit exceeded. | 0 |
15 | 144ms | 288kb | OK | 5 |
16 | Depăşit | 268kb | Time limit exceeded. | 0 |
17 | Depăşit | 260kb | Time limit exceeded. | 0 |
18 | Depăşit | 264kb | Time limit exceeded. | 0 |
19 | Depăşit | 272kb | Time limit exceeded. | 0 |
20 | 0ms | 264kb | OK | 5 |
Punctaj total | 55 |