Pagini recente » Borderou de evaluare (job #2327047) | Borderou de evaluare (job #1072718) | Borderou de evaluare (job #1087821) | Borderou de evaluare (job #1308698) | Borderou de evaluare (job #1263189)
Borderou de evaluare (job #1263189)
Raport evaluator
Compilare:
user.cpp: In function ‘int cmp(char*, char*)’:
user.cpp:14:33: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (ord[a[i]]<ord[b[i]]) return -1;
^
user.cpp:14:43: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (ord[a[i]]<ord[b[i]]) return -1;
^
user.cpp: In function ‘int main()’:
user.cpp:44:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zimeria.in","r",stdin);
^
user.cpp:45:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zimeria.out","w",stdout);
^
user.cpp:47:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&op);
^
user.cpp:50:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:51:23: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp:52:23: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp:56:47: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
for (i=1; i<=n; ++i) gets(a[i]);
^
user.cpp:68:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:69:17: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp:70:17: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp:74:41: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
for (i=1; i<=n; ++i) gets(a[i]);
^
In file included from /usr/include/stdio.h:934:0,
from /usr/include/c++/4.8/cstdio:42,
from /usr/include/c++/4.8/ext/string_conversions.h:43,
from /usr/include/c++/4.8/bits/basic_string.h:2815,
from /usr/include/c++/4.8/string:52,
from /usr/include/c++/4.8/bits/locale_classes.h:40,
from /usr/include/c++/4.8/bits/ios_base.h:41,
from /usr/include/c++/4.8/ios:42,
from /usr/include/c++/4.8/istream:38,
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 276kb | OK | 5 |
2 | 0ms | 284kb | OK | 5 |
3 | 28ms | 572kb | OK | 5 |
4 | 60ms | 860kb | OK | 5 |
5 | 124ms | 1452kb | OK | 5 |
6 | 268ms | 2612kb | OK | 5 |
7 | 0ms | 272kb | OK | 5 |
8 | 0ms | 276kb | OK | 5 |
9 | 0ms | 288kb | OK | 5 |
10 | 4ms | 304kb | OK | 5 |
11 | 4ms | 328kb | OK | 5 |
12 | 12ms | 392kb | OK | 5 |
13 | 28ms | 512kb | OK | 5 |
14 | 60ms | 740kb | OK | 5 |
15 | 76ms | 860kb | OK | 5 |
16 | 116ms | 1156kb | OK | 5 |
17 | 160ms | 1448kb | OK | 5 |
18 | 200ms | 1740kb | OK | 5 |
19 | 260ms | 2152kb | OK | 5 |
20 | Depăşit | 2604kb | Time limit exceeded. | 0 |
Punctaj total | 95 |