Pagini recente » Borderou de evaluare (job #1417725) | Borderou de evaluare (job #3243614) | Borderou de evaluare (job #2695895) | Borderou de evaluare (job #1351002) | Borderou de evaluare (job #1257793)
Borderou de evaluare (job #1257793)
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 | 296kb | Raspuns Gresit | 0 |
2 | 0ms | 268kb | Raspuns Gresit | 0 |
3 | 0ms | 280kb | Raspuns Gresit | 0 |
4 | 0ms | 324kb | Raspuns Gresit | 0 |
5 | 0ms | 360kb | Raspuns Gresit | 0 |
6 | 0ms | 340kb | Raspuns Gresit | 0 |
7 | 0ms | 364kb | Raspuns Gresit | 0 |
8 | 0ms | 336kb | Raspuns Gresit | 0 |
9 | 0ms | 340kb | Raspuns Gresit | 0 |
10 | 0ms | 336kb | Raspuns Gresit | 0 |
Punctaj total | 0 |