Pagini recente » Borderou de evaluare (job #1522258) | Borderou de evaluare (job #2213207) | Borderou de evaluare (job #2741452) | Borderou de evaluare (job #118738) | Borderou de evaluare (job #2299652)
Borderou de evaluare (job #2299652)
Raport evaluator
Compilare:
main.cpp: In function 'void citire()':
main.cpp:20:40: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%lld%d", &n, &m, &c, &r);
^
main.cpp:21:44: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d%d", &x, &y, &z, &w, &u);
^
main.cpp:23:33: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &ma[1][i]);
^
main.cpp:25:33: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &ma[i][1]);
^
main.cpp: In function 'int main()':
main.cpp:91:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("livada3.in", "r", stdin);
^
main.cpp:92:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("livada3.out", "w", stdout);
^
main.cpp: In function 'int caut_bin_ind(int, int, long long int, int)':
main.cpp:59:12: warning: 'last' may be used uninitialized in this function [-Wmaybe-uninitialized]
return last;
^~~~
main.cpp: In function 'long long int caut_bin_val(long long int, long long int)':
main.cpp:45:9: warning: 'last' may be used uninitialized in this function [-Wmaybe-uninitialized]
int last;
^~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 786kb | OK | 10 |
2 | 8ms | 1572kb | OK | 10 |
3 | 65ms | 7340kb | Incorect | 0 |
4 | 62ms | 8519kb | Incorect | 0 |
5 | 93ms | 11010kb | Incorect | 0 |
6 | 100ms | 11010kb | Incorect | 0 |
7 | 403ms | 18350kb | Time limit exceeded | 0 |
8 | 403ms | 18481kb | Time limit exceeded | 0 |
9 | 400ms | 20316kb | Time limit exceeded | 0 |
10 | 2ms | 393kb | OK | 10 |
Punctaj total | 30 |