Pagini recente » Borderou de evaluare (job #31258) | Borderou de evaluare (job #2386047) | Borderou de evaluare (job #1098953) | Borderou de evaluare (job #1228484) | Borderou de evaluare (job #1480292)
Borderou de evaluare (job #1480292)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:48:64: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (j < min(v[i].x.length(), v[i + 1].x.length()) && v[i].x.at(j) == v[i + 1].x.at(j))
^
user.cpp:7:26: warning: integer overflow in expression [-Woverflow]
#define INF ((1 << 31) - 1)
^
user.cpp:72:29: note: in expansion of macro ‘INF’
start = minim = INF;
^
user.cpp:7:26: warning: integer overflow in expression [-Woverflow]
#define INF ((1 << 31) - 1)
^
user.cpp:73:23: note: in expansion of macro ‘INF’
finish = -INF;
^
user.cpp:28:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ratina.in","r",stdin);
^
user.cpp:29:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ratina.out","w",stdout);
^
user.cpp:31:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n", &N, &M);
^
user.cpp:34:44: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(S), v[i].x = S, v[i].y = i;
^
user.cpp:70:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &nr);
^
user.cpp:77:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &X);
^
/tmp/cciyRg2H.o: In function `main':
user.cpp:(.text.startup+0x8a): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 488kb | Killed by signal 6(SIGABRT). | 0 |
2 | 0ms | 488kb | Killed by signal 6(SIGABRT). | 0 |
3 | 20ms | 432kb | OK | 5 |
4 | 20ms | 432kb | OK | 5 |
5 | 20ms | 428kb | OK | 5 |
6 | 20ms | 436kb | OK | 5 |
7 | 180ms | 512kb | OK | 5 |
8 | 180ms | 508kb | OK | 5 |
9 | 180ms | 504kb | OK | 5 |
10 | 0ms | 488kb | Killed by signal 6(SIGABRT). | 0 |
11 | 0ms | 488kb | Killed by signal 6(SIGABRT). | 0 |
12 | 0ms | 488kb | Killed by signal 6(SIGABRT). | 0 |
13 | 0ms | 492kb | Killed by signal 6(SIGABRT). | 0 |
14 | 0ms | 492kb | Killed by signal 6(SIGABRT). | 0 |
15 | 0ms | 488kb | Killed by signal 6(SIGABRT). | 0 |
16 | 176ms | 860kb | OK | 5 |
17 | 296ms | 852kb | OK | 5 |
18 | 296ms | 860kb | OK | 5 |
19 | 296ms | 852kb | OK | 5 |
20 | 296ms | 856kb | OK | 5 |
Punctaj total | 60 |