Pagini recente » Borderou de evaluare (job #645841) | Borderou de evaluare (job #2102987) | Borderou de evaluare (job #2980371) | Borderou de evaluare (job #1151986) | Borderou de evaluare (job #1787305)
Borderou de evaluare (job #1787305)
Raport evaluator
Compilare:
user.cpp: In function ‘int main(int, const char**)’:
user.cpp:101:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < b.size(); ++i)
^
user.cpp:105:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = i + 1; j < b.size(); ++j)
^
user.cpp:135:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < b.size(); ++i)
^
user.cpp:139:47: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = i + 1; j < b.size(); ++j)
^
user.cpp:170:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < sol.size(); ++i)
^
user.cpp:175:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < sol.size(); ++i)
^
user.cpp:52:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("magic2.in", "r", stdin);
^
user.cpp:53:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("magic2.out", "w", stdout);
^
user.cpp:55:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:60:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i][j]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 456kb | Incorect | 0 |
2 | 0ms | 452kb | Incorect | 0 |
3 | 0ms | 440kb | OK | 10 |
4 | 0ms | 452kb | Incorect | 0 |
5 | 0ms | 440kb | OK | 10 |
6 | 0ms | 448kb | Incorect | 0 |
7 | 0ms | 452kb | Incorect | 0 |
8 | 0ms | 452kb | Incorect | 0 |
9 | 0ms | 480kb | OK | 10 |
10 | 0ms | 488kb | Incorect | 0 |
Punctaj total | 30 |