Pagini recente » Borderou de evaluare (job #1625511) | Borderou de evaluare (job #968126) | Borderou de evaluare (job #2572406) | Borderou de evaluare (job #1502765) | Borderou de evaluare (job #2188596)
Borderou de evaluare (job #2188596)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:12:9: warning: unused variable ‘i’ [-Wunused-variable]
int i,j;
^
user.cpp:12:11: warning: unused variable ‘j’ [-Wunused-variable]
int i,j;
^
user.cpp: In function ‘void roy_floyd()’:
user.cpp:21:9: warning: unused variable ‘i’ [-Wunused-variable]
int i,j,k;
^
user.cpp:21:11: warning: unused variable ‘j’ [-Wunused-variable]
int i,j,k;
^
user.cpp:21:13: warning: unused variable ‘k’ [-Wunused-variable]
int i,j,k;
^
user.cpp: In function ‘void read()’:
user.cpp:10:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("royfloyd.in","r",stdin);
^
user.cpp:11:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("royfloyd.out","w",stdout);
^
user.cpp:13:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:16:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&matrice[i][j]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1332kb | OK | 10 |
2 | 0ms | 1328kb | OK | 10 |
3 | 0ms | 1332kb | OK | 10 |
4 | 0ms | 1340kb | OK | 10 |
5 | 0ms | 1344kb | OK | 10 |
6 | 4ms | 1344kb | OK | 10 |
7 | 4ms | 1352kb | OK | 10 |
8 | 4ms | 1352kb | OK | 10 |
9 | 8ms | 1360kb | OK | 10 |
10 | 8ms | 1360kb | OK | 10 |
Punctaj total | 100 |