Pagini recente » Borderou de evaluare (job #1038631) | Borderou de evaluare (job #320182) | Borderou de evaluare (job #1113323) | Borderou de evaluare (job #551175) | Borderou de evaluare (job #2145145)
Borderou de evaluare (job #2145145)
Raport evaluator
Compilare:
user.cpp: In function ‘bool sim(int)’:
user.cpp:24:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 1; i<=n; i++)
^
user.cpp:26:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 1; j<=m && nr>=livada[i][j]; j++)
^
user.cpp:33:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 1; i<=r; i++)
^
user.cpp:37:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(t>=c)
^
user.cpp: In function ‘void rez()’:
user.cpp:45:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 1; i<=m; i++)
^
user.cpp:49:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 2; i<=n; i++)
^
user.cpp:53:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 2; i<=n; i++)
^
user.cpp:55:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 2; j<=m; j++)
^
user.cpp:67:19: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long unsigned int’ [-Wformat=]
printf("%d", i);
^
user.cpp:44:97: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld %lld %lld %lld\n%lld %lld %lld %lld %lld\n", &n, &m, &c, &r, &x, &y, &z, &w, &u);
^
user.cpp:47:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld ", &livada[1][i]);
^
user.cpp:51:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld ", &livada[i][1]);
^
user.cpp: In function ‘int main()’:
user.cpp:72: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);
^
user.cpp:73: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);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 11744kb | OK | 10 |
2 | 12ms | 21988kb | OK | 10 |
3 | 28ms | 22004kb | OK | 10 |
4 | 36ms | 22008kb | OK | 10 |
5 | 40ms | 22012kb | OK | 10 |
6 | 48ms | 22016kb | OK | 10 |
7 | 208ms | 22124kb | OK | 10 |
8 | 236ms | 22116kb | OK | 10 |
9 | 236ms | 22120kb | OK | 10 |
10 | 0ms | 5604kb | OK | 10 |
Punctaj total | 100 |