Pagini recente » Borderou de evaluare (job #2454961) | Borderou de evaluare (job #1617146) | Borderou de evaluare (job #1874449) | Borderou de evaluare (job #1829918) | Borderou de evaluare (job #1388140)
Borderou de evaluare (job #1388140)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:33:55: warning: array subscript has type ‘char’ [-Wchar-subscripts]
for (int i=1;s[i];++i) l = l * 10 + p[s[i]];
^
user.cpp:10:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("mcript.in","r",stdin);
^
user.cpp:11:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("mcript.out","w",stdout);
^
user.cpp:13:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%s",&aux,s+1);
^
user.cpp:16:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&aux);
^
user.cpp:19:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",s+1);l = 0;
^
user.cpp:24:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&aux);
^
user.cpp:27:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:31:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",s+1);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 36ms | 24108kb | OK | 10 |
2 | 36ms | 24120kb | OK | 10 |
3 | 40ms | 24140kb | OK | 10 |
4 | 52ms | 24352kb | OK | 10 |
5 | 72ms | 24816kb | OK | 10 |
6 | 100ms | 25288kb | OK | 10 |
7 | 140ms | 26456kb | OK | 10 |
8 | 360ms | 31144kb | OK | 10 |
9 | 804ms | 35828kb | OK | 10 |
10 | Depăşit | 47544kb | Time limit exceeded. | 0 |
Punctaj total | 90 |