Pagini recente » Borderou de evaluare (job #1739062) | Cod sursa (job #323273) | Borderou de evaluare (job #2129790) | Cod sursa (job #2985803) | Borderou de evaluare (job #1343423)
Borderou de evaluare (job #1343423)
Raport evaluator
Compilare:
user.c: In function ‘main’:
user.c:12:2: warning: implicit declaration of function ‘malloc’ [-Wimplicit-function-declaration]
fseek(f,0,0);short *l=malloc(5000000);
^
user.c:12:24: warning: incompatible implicit declaration of built-in function ‘malloc’ [enabled by default]
fseek(f,0,0);short *l=malloc(5000000);
^
user.c:13:15: warning: unused variable ‘b’ [-Wunused-variable]
char c;int a,b,cont=0;
^
user.c:13:13: warning: unused variable ‘a’ [-Wunused-variable]
char c;int a,b,cont=0;
^
user.c:14:7: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
fread(&c,1,1,f);l[cont]=1;cont++;
^
user.c:19:8: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
fread(&c,1,1,f);l[cont]=1;cont++;
^
user.c:25:10: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
fread(&c,1,1,f);l[cont]=1;cont++;
^
user.c:29:11: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
fread(&c,1,1,f);l[cont]=1;cont++;
^
user.c:35:13: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
fread(&c,1,1,f);l[cont]=1;cont++;
^
user.c:43:13: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
fread(&c,1,1,f);l[cont]=1;cont++;
^
user.c:54:13: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
fread(&c,1,1,f);l[cont]=1;cont++;
^
user.c:63:13: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
fread(&c,1,1,f);l[cont]=1;cont++;
^
user.c:78:8: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
fread(&c,1,1,f);l[cont]=1;cont++;
^
user.c:84:10: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
fread(&c,1,1,f);l[cont]=1;cont++;
^
user.c:88:11: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
fread(&c,1,1,f);l[cont]=1;cont++;
^
user.c:94:13: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
fread(&c,1,1,f);l[cont]=1;cont++;
^
user.c:103:13: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 232kb | OK | 10 |
2 | 0ms | 228kb | OK | 10 |
3 | 0ms | 240kb | OK | 10 |
4 | 4ms | 260kb | OK | 10 |
5 | 4ms | 272kb | OK | 10 |
6 | 4ms | 260kb | OK | 10 |
7 | 0ms | 232kb | OK | 10 |
8 | Depăşit | 3084kb | Time limit exceeded. | 0 |
9 | Depăşit | 2112kb | Time limit exceeded. | 0 |
10 | Depăşit | 2588kb | Time limit exceeded. | 0 |
Punctaj total | 70 |