Pagini recente » Cod sursa (job #458691) | Cod sursa (job #2962439) | Cod sursa (job #1112428) | Cod sursa (job #509684) | Borderou de evaluare (job #1238766)
Borderou de evaluare (job #1238766)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d",&a[i]);
^
user.cpp:25:39: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
if(l[i]==lm){printf("%d ",a[i]);lm--;}
^
user.cpp:8:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("scmax.in","r",stdin);
^
user.cpp:9:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("scmax.out","w",stdout);
^
user.cpp:10:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:12:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 224kb | Wall time limit exceeded. | 0 | 0 |
| 2 | 0ms | 224kb | Wall time limit exceeded. | 0 | 0 |
| 3 | 0ms | 244kb | Lungime incorecta! | 0 | 0 |
| 4 | 0ms | 224kb | Wall time limit exceeded. | 0 | 0 |
| 5 | 0ms | 224kb | Wall time limit exceeded. | 0 | 0 |
| 6 | 0ms | 224kb | Wall time limit exceeded. | 0 | 0 |
| 7 | 0ms | 224kb | Wall time limit exceeded. | 0 | 0 |
| 8 | 0ms | 224kb | Wall time limit exceeded. | 0 | 0 |
| 9 | 0ms | 220kb | Wall time limit exceeded. | 0 |
| 10 | 0ms | 224kb | Wall time limit exceeded. | 0 |
| Punctaj total | 0 |