Pagini recente » Borderou de evaluare (job #2384072) | Borderou de evaluare (job #2510626) | Borderou de evaluare (job #3193943) | Borderou de evaluare (job #3246125) | Borderou de evaluare (job #1207885)
Borderou de evaluare (job #1207885)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:10:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&alfa[i]);
^
user.cpp:12:15: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&W);
^
user.cpp:6:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("texttrim.in","r",stdin);
^
user.cpp:7:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("texttrim.out","w",stdout);
^
user.cpp:10:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&alfa[i]);
^
user.cpp:11:10: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp:12:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&W);
^
/tmp/ccQ0Glbz.o: In function `main':
user.cpp:(.text.startup+0x7f): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 260kb | OK | 10 | 0 |
2 | 0ms | 248kb | OK | 10 |
3 | 0ms | 248kb | OK | 10 |
4 | 0ms | 248kb | OK | 10 |
5 | 4ms | 288kb | OK | 10 |
6 | 0ms | 456kb | OK | 10 |
7 | 4ms | 1240kb | Incorect | 0 |
8 | Depăşit | 1212kb | Time limit exceeded. | 0 |
9 | 112ms | 1236kb | OK | 10 |
10 | Depăşit | 1208kb | Time limit exceeded. | 0 |
Punctaj total | 0 |