Pagini recente » Borderou de evaluare (job #614382) | Borderou de evaluare (job #1644795) | Borderou de evaluare (job #2821953) | Borderou de evaluare (job #670683) | Borderou de evaluare (job #2645362)
Borderou de evaluare (job #2645362)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:25:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(j=1; j<=n; ++j)
^~~
main.cpp:33:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
for(i=1;i<=n; ++i) {
^~~
main.cpp:6:36: 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);
^
main.cpp:7:38: 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);
^
main.cpp:11:17: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
main.cpp:22:33: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &distances[i][j]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 2ms | 131kb | OK | 10 |
3 | 3ms | 131kb | OK | 10 |
4 | 3ms | 131kb | OK | 10 |
5 | 4ms | 131kb | OK | 10 |
6 | 6ms | 131kb | OK | 10 |
7 | 7ms | 131kb | OK | 10 |
8 | 9ms | 131kb | OK | 10 |
9 | 11ms | 131kb | OK | 10 |
10 | 13ms | 131kb | OK | 10 |
Punctaj total | 100 |