Pagini recente » Cod sursa (job #435560) | Borderou de evaluare (job #1252861) | Borderou de evaluare (job #1307820) | Cod sursa (job #1127161) | Borderou de evaluare (job #1257790)
Borderou de evaluare (job #1257790)
Raport evaluator
Compilare:
user.cpp: In function ‘void citire()’:
user.cpp:14:26: warning: format ‘%c’ expects argument of type ‘char*’, but argument 3 has type ‘int*’ [-Wformat=]
fscanf(f,"%c",&a[i][j]);
^
user.cpp: In function ‘void traseu(int, int, int)’:
user.cpp:46:6: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(s[ii][jj]!=-1 && s[ii][jj]!=-3)
^
user.cpp: In function ‘void citire()’:
user.cpp:8:19: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&n);
^
user.cpp:9:21: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d\n",&m);
^
user.cpp:14:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%c",&a[i][j]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 300kb | Raspuns Gresit | 0 |
| 2 | 0ms | 268kb | Raspuns Gresit | 0 |
| 3 | 0ms | 276kb | Raspuns Gresit | 0 |
| 4 | 0ms | 328kb | Raspuns Gresit | 0 |
| 5 | 0ms | 360kb | Raspuns Gresit | 0 |
| 6 | 0ms | 332kb | Raspuns Gresit | 0 |
| 7 | 0ms | 368kb | Raspuns Gresit | 0 |
| 8 | 0ms | 340kb | Raspuns Gresit | 0 |
| 9 | 0ms | 340kb | Raspuns Gresit | 0 |
| 10 | 0ms | 336kb | Raspuns Gresit | 0 |
| Punctaj total | 0 |