Pagini recente » Borderou de evaluare (job #1324906) | Borderou de evaluare (job #210576) | Borderou de evaluare (job #1297747) | Borderou de evaluare (job #210606) | Borderou de evaluare (job #1297729)
Borderou de evaluare (job #1297729)
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,mp;
^
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 | 256kb | OK | 10 |
| 2 | 0ms | 256kb | OK | 10 |
| 3 | 0ms | 260kb | OK | 10 |
| 4 | 0ms | 252kb | OK | 10 |
| 5 | 0ms | 256kb | OK | 10 |
| 6 | 8ms | 264kb | OK | 10 |
| 7 | 32ms | 260kb | OK | 10 |
| 8 | 52ms | 256kb | OK | 10 |
| 9 | 112ms | 260kb | OK | 10 |
| 10 | 112ms | 260kb | OK | 10 |
| Punctaj total | 100 |