Pagini recente » Borderou de evaluare (job #2299680) | Borderou de evaluare (job #2184608) | Borderou de evaluare (job #3117875) | Borderou de evaluare (job #3282677) | Borderou de evaluare (job #2696843)
Borderou de evaluare (job #2696843)
Raport evaluator
Compilare:
main.cpp: In function 'void Lee(Andrei, const int&, const int&, int)':
main.cpp:20:11: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
if( nr.l >= 0 && nr.l < n && nr.c >= 0 && nr.c < m && dis[ nr.l ][ nr.c ] > val + ( a[ el.l ][ el.c ] != a[ nr.l ][ nr.c ] ) )
^
main.cpp: In function 'int main()':
main.cpp:36:45: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'short int*' [-Wformat=]
fscanf( fin, "%d", &a[ l ][ c ] );
^
main.cpp:33:70: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf( fin, "%d%d%d%d%d%d", &n, &m, &st.l, &st.c, &sf.l, &sf.c );
^
main.cpp:36:46: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf( fin, "%d", &a[ l ][ c ] );
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 3ms | 262kb | OK | 10 |
3 | 133ms | 655kb | OK | 10 |
4 | 400ms | 1572kb | Time limit exceeded | 0 |
5 | 401ms | 1835kb | Time limit exceeded | 0 |
6 | 403ms | 9568kb | Time limit exceeded | 0 |
7 | 403ms | 22675kb | Time limit exceeded | 0 |
8 | 402ms | 40329kb | Time limit exceeded | 0 |
9 | 400ms | 21233kb | Time limit exceeded | 0 |
10 | 403ms | 29491kb | Time limit exceeded | 0 |
Punctaj total | 30 |