Borderou de evaluare (job #2295169)
Utilizator | Data | 3 decembrie 2018 12:01:57 | |
---|---|---|---|
Problema | Perle2 | Status | done |
Runda | Arhiva de probleme | Compilator | c-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.c: In function 'main':
main.c:26:13: error: stray '#' in program
return a#include <stdio.h>
^
main.c:26:12: error: 'a' undeclared (first use in this function)
return a#include <stdio.h>
^
main.c:26:12: note: each undeclared identifier is reported only once for each function it appears in
main.c:26:14: error: expected ';' before 'include'
return a#include <stdio.h>
^~~~~~~
main.c:36:5: warning: 'main' is normally a non-static function [-Wmain]
int main(){
^~~~
main.c: In function 'main':
main.c:44:16: warning: unused variable 'j' [-Wunused-variable]
int n, k, i, j, x, smax, sc;
^
main.c: In function 'main':
main.c:82:2: warning: statement with no effect [-Wunused-value]
}0;
^
main.c:9:5: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d%d",&n,&k);
^~~~~~~~~~~~~~~~~~~~~~~~
main.c:11:7: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d",&v[i]);
^~~~~~~~~~~~~~~~~~~~~~
At top level:
main.c:36:5: warning: 'main' defined but not used [-Wunused-function]
int main(){
^~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !