Pagini recente » Borderou de evaluare (job #2052915) | Borderou de evaluare (job #1097124) | Borderou de evaluare (job #1550214) | Borderou de evaluare (job #2891293) | Borderou de evaluare (job #1297723)
Borderou de evaluare (job #1297723)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:17:32: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[35]’ [-Wformat=]
fscanf(fin,"%s",&ch);
^
user.cpp:10:16: warning: unused variable ‘mas’ [-Wunused-variable]
int n,size,mas,suma=0,mp;
^
user.cpp:12:24: warning: unused variable ‘s’ [-Wunused-variable]
unsigned long long s=0;
^
user.cpp:13:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d",&n);
^
user.cpp:14:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%c",&chi);
^
user.cpp:17:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%s",&ch);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 252kb | OK | 10 |
2 | 0ms | 252kb | OK | 10 |
3 | 0ms | 260kb | OK | 10 |
4 | 0ms | 252kb | OK | 10 |
5 | 0ms | 260kb | OK | 10 |
6 | 4ms | 256kb | OK | 10 |
7 | 20ms | 252kb | OK | 10 |
8 | 36ms | 256kb | OK | 10 |
9 | 72ms | 256kb | OK | 10 |
10 | 72ms | 252kb | Incorect | 0 |
Punctaj total | 90 |