Pagini recente » Borderou de evaluare (job #295115) | Borderou de evaluare (job #2498810) | Borderou de evaluare (job #1625355) | Borderou de evaluare (job #1513601) | Borderou de evaluare (job #1845065)
Borderou de evaluare (job #1845065)
Raport evaluator
Compilare:
user.cpp: In function ‘void RoyWarshall()’:
user.cpp:28:8: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if (i!=j && j!=k && k!=i)
^
user.cpp: In function ‘void Read()’:
user.cpp:9:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:12:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&i,&j);
^
user.cpp:18:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&sol[i][j]);
^
user.cpp: In function ‘int main()’:
user.cpp:43:30: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rfinv.in","r",stdin);
^
user.cpp:44:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rfinv.out","w",stdout);
^
user.cpp:45:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&T);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 16ms | 280kb | Incorect | 0 |
Punctaj total | 0 |