Pagini recente » Borderou de evaluare (job #2128437) | Borderou de evaluare (job #2285855) | Borderou de evaluare (job #541259) | Borderou de evaluare (job #2065374) | Borderou de evaluare (job #1713666)
Borderou de evaluare (job #1713666)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:16:22: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(first[s[i]]==INF)
^
user.cpp:17:23: warning: array subscript has type ‘char’ [-Wchar-subscripts]
first[s[i]]=i;
^
user.cpp:8:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("trompeta.in","r",stdin);
^
user.cpp:9:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("trompeta.out","w",stdout);
^
user.cpp:11:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n%s",&n,&m,s);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 272kb | OK | 10 |
2 | 0ms | 272kb | OK | 10 |
3 | 0ms | 272kb | OK | 10 |
4 | 0ms | 272kb | OK | 10 |
5 | 0ms | 272kb | OK | 10 |
6 | 16ms | 364kb | OK | 10 |
7 | 8ms | 364kb | OK | 10 |
8 | Depăşit | 1240kb | Time limit exceeded. | 0 |
9 | Depăşit | 1240kb | Time limit exceeded. | 0 |
10 | Depăşit | 1240kb | Time limit exceeded. | 0 |
Punctaj total | 70 |